abstract fun withRepresentation(representation: Any?): RepresentationOnly.FinalStep
(source)
Uses the given representation as RepresentationOnlyAssertion.representation.
Notice, if you want to use a text (e.g. a String) as representation, then wrap it into a RawString via RawString.create and pass the RawString instead.