doc / ch.tutteli.atrium.assertions.builders.impl.representationOnly / RepresentationOnlyAssertionImpl

RepresentationOnlyAssertionImpl

class RepresentationOnlyAssertionImpl : RepresentationOnlyAssertion (source)

Constructors

<init>

RepresentationOnlyAssertionImpl(test: () -> Boolean, representation: Any?)

Properties

representation

val representation: Any?

The representation of an instance such as 1, null etc.

Functions

holds

fun holds(): Boolean

Indicates whether the assertion holds or not.