doc / ch.tutteli.atrium.api.cc.infix.en_GB / to

to

infix fun <T : CharSequence> Assert<T>.to(contain: contain): CharSequenceContains.Builder<T, NoOpSearchBehaviour>
Deprecated: Switch from Assert to Expect; will be removed with 1.0.0 -- see https://github.com/robstoll/atrium/releases/tag/v0.12.0#migration for migration hints and scripts.

Creates a CharSequenceContains.Builder based on this AssertionPlant which allows to define a sophisticated contains assertions.

Parameters

contain - Has to be contain.

Return
The newly created builder.