Extracted StringAssert interface.