atrium-api-fluent-en_GB-jvm / ch.tutteli.atrium.api.fluent.en_GB.creating.charsequence.contains.builders / NotCheckerOption

NotCheckerOption

interface NotCheckerOption<out T : CharSequence, out S : SearchBehaviour> : CheckerOption<T, S>

Represents the extension point for another option after a contains not at all-check within a sophisticated contains assertion building process for CharSequence.

Parameters

T - The input type of the search.

S - The search behaviour which should be applied for the input of the search.

Extension Properties

ignoringCase

val <T : CharSequence> NotCheckerOption<T, NotSearchBehaviour>.ignoringCase: NotCheckerOption<T, IgnoringCaseSearchBehaviour>

Defines that the search behaviour ignore case shall be applied to this sophisticated contains not assertion.

Extension Functions

regex

fun <T : CharSequence> CheckerOption<T, NoOpSearchBehaviour>.regex(pattern: Regex, vararg otherPatterns: Regex): Expect<T>

Finishes the specification of the sophisticated contains assertion where the given regular expression pattern as well as the otherPatterns are expected to have a match, using a non disjoint search.