doc / ch.tutteli.atrium.api.cc.infix.en_UK / defaultTranslationOf

defaultTranslationOf

infix fun <T : CharSequence> CharSequenceContains.CheckerOption<T, NoOpSearchBehaviour>.defaultTranslationOf(translatable: Translatable): AssertionPlant<T>
Deprecated: Use pendant from package en_GB; will be removed with 1.0.0

Finishes the specification of the sophisticated contains assertion where the getDefault representation of the given translatable shall be searched, using a non disjoint search.

Delegates to the DefaultTranslationsOf(translatable).

By non disjoint is meant that 'aa' in 'aaaa' is found three times and not only two times.

Exceptions

AssertionError - Might throw an AssertionError if the assertion made is not correct.

Return
The AssertionPlant for which the assertion was built to support a fluent API.

@JvmName("defaultTranslationOfIgnoringCase") infix fun <T : CharSequence> CharSequenceContains.CheckerOption<T, IgnoringCaseSearchBehaviour>.defaultTranslationOf(translatable: Translatable): AssertionPlant<T>
Deprecated: Use pendant from package en_GB; will be removed with 1.0.0

Finishes the specification of the sophisticated contains assertion where the getDefault representation of the given translatable shall be searched (ignoring case), using a non disjoint search.

Delegates to the DefaultTranslationsOf(translatable).

By non disjoint is meant that 'aa' in 'aaaa' is found three times and not only two times.

Exceptions

AssertionError - Might throw an AssertionError if the assertion made is not correct.

Return
The AssertionPlant for which the assertion was built to support a fluent API.