interface CharSequenceAssertions
Defines the minimum set of assertion functions and builders applicable to CharSequence, which an implementation of the domain of Atrium has to provide.
abstract fun <T : CharSequence> containsBuilder(subjectProvider: SubjectProvider<T>): CharSequenceContains.Builder<T, NoOpSearchBehaviour> |
|
abstract fun <T : CharSequence> containsNotBuilder(subjectProvider: SubjectProvider<T>): CharSequenceContains.Builder<T, NotSearchBehaviour> |
|
abstract fun endsNotWith(subjectProvider: SubjectProvider<CharSequence>, expected: CharSequence): Assertion |
|
abstract fun endsWith(subjectProvider: SubjectProvider<CharSequence>, expected: CharSequence): Assertion |
|
abstract fun isEmpty(subjectProvider: SubjectProvider<CharSequence>): Assertion |
|
abstract fun isNotBlank(subjectProvider: SubjectProvider<CharSequence>): Assertion |
|
abstract fun isNotEmpty(subjectProvider: SubjectProvider<CharSequence>): Assertion |
|
abstract fun <T : CharSequence> matches(expect: Expect<T>, expected: Regex): Assertion |
|
abstract fun <T : CharSequence> mismatches(expect: Expect<T>, expected: Regex): Assertion |
|
abstract fun startsNotWith(subjectProvider: SubjectProvider<CharSequence>, expected: CharSequence): Assertion |
|
abstract fun startsWith(subjectProvider: SubjectProvider<CharSequence>, expected: CharSequence): Assertion |
object CharSequenceAssertionsBuilder : CharSequenceAssertions
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. |