doc / ch.tutteli.atrium.api.cc.infix.en_GB / RegexPatterns

RegexPatterns

class RegexPatterns : VarArgHelper<String>
Deprecated: Switch from Assert to Expect; will be removed with 1.0.0 -- see https://github.com/robstoll/atrium/releases/tag/v0.12.0#migration for migration hints and scripts.

Parameter object to express String, vararg String in the infix-api.

Constructors

<init>

RegexPatterns(pattern: String, vararg otherPatterns: String)

Parameter object to express String, vararg String in the infix-api.

Properties

expected

val expected: String

The first argument in the argument list T, vararg T

otherExpected

val otherExpected: Array<out String>

The second argument in the argument list T, vararg T

Inherited Properties

mapArguments

open val mapArguments: ArgumentMapperBuilder<T>

Creates an ArgumentMapperBuilder which allows to map expected and otherExpected.

Inherited Functions

toList

open fun toList(): List<T>

Returns the arguments as List.