CharSequenceAssertions

Collection of assertion functions and builders which are applicable to subjects with a CharSequence type.

Inheritors

Functions

Link copied to clipboard

Starts the building process of a sophisticated contains assertions.

Link copied to clipboard

Starts the building process of a sophisticated contains assertions and already applies a NotCheckerStep with a NotSearchBehaviour.

Link copied to clipboard
abstract fun <T : CharSequence> endsNotWith(container: AssertionContainer<T>, expected: CharSequence): Assertion
Link copied to clipboard
abstract fun <T : CharSequence> endsWith(container: AssertionContainer<T>, expected: CharSequence): Assertion
Link copied to clipboard
abstract fun <T : CharSequence> isEmpty(container: AssertionContainer<T>): Assertion
Link copied to clipboard
abstract fun <T : CharSequence> isNotBlank(container: AssertionContainer<T>): Assertion
Link copied to clipboard
abstract fun <T : CharSequence> isNotEmpty(container: AssertionContainer<T>): Assertion
Link copied to clipboard
abstract fun <T : CharSequence> matches(container: AssertionContainer<T>, expected: Regex): Assertion
Link copied to clipboard
abstract fun <T : CharSequence> mismatches(container: AssertionContainer<T>, expected: Regex): Assertion
Link copied to clipboard
abstract fun <T : CharSequence> startsNotWith(container: AssertionContainer<T>, expected: CharSequence): Assertion
Link copied to clipboard
abstract fun <T : CharSequence> startsWith(container: AssertionContainer<T>, expected: CharSequence): Assertion