doc / ch.tutteli.atrium.domain.builders.creating / CharSequenceAssertionsBuilder

CharSequenceAssertionsBuilder

object CharSequenceAssertionsBuilder : CharSequenceAssertions
Deprecated: Use _logic from ch.tutteli.atrium.logic instead; will be removed with 1.0.0

Delegates inter alia to the implementation of CharSequenceAssertions. In detail, it implements CharSequenceAssertions by delegating to charSequenceAssertions which in turn delegates to the implementation via loadSingleService.

Properties

contains

val contains: CharSequenceContainsAssertionsBuilder

Returns CharSequenceContainsAssertionsBuilder which inter alia delegates to the implementation of CharSequenceContainsAssertions.

Functions

containsBuilder

fun <T : CharSequence> containsBuilder(subjectProvider: SubjectProvider<T>): CharSequenceContains.Builder<T, NoOpSearchBehaviour>

containsNotBuilder

fun <T : CharSequence> containsNotBuilder(subjectProvider: SubjectProvider<T>): CharSequenceContains.Builder<T, NotSearchBehaviour>

endsNotWith

fun endsNotWith(subjectProvider: SubjectProvider<CharSequence>, expected: CharSequence): Assertion

endsWith

fun endsWith(subjectProvider: SubjectProvider<CharSequence>, expected: CharSequence): Assertion

isEmpty

fun isEmpty(subjectProvider: SubjectProvider<CharSequence>): Assertion

isNotBlank

fun isNotBlank(subjectProvider: SubjectProvider<CharSequence>): Assertion

isNotEmpty

fun isNotEmpty(subjectProvider: SubjectProvider<CharSequence>): Assertion

matches

fun <T : CharSequence> matches(expect: Expect<T>, expected: Regex): Assertion

mismatches

fun <T : CharSequence> mismatches(expect: Expect<T>, expected: Regex): Assertion

startsNotWith

fun startsNotWith(subjectProvider: SubjectProvider<CharSequence>, expected: CharSequence): Assertion

startsWith

fun startsWith(subjectProvider: SubjectProvider<CharSequence>, expected: CharSequence): Assertion