Nah, the point was to DRY it up... there are a lot of the same thing being said... unless the assertionText is somehow changing... it's not changing in all the above code, though... it's just saying "{{attrib}} has correct value"... but yeah, like all my suggestions, grain of salt.