Issue #2257519 by sun, larowlan, xjm, cs_shadow: Move content assertion methods into a trait, so DUTB can consume it, too.