doc / ch.tutteli.atrium.assertions / LazyThreadUnsafeBasicAssertion

LazyThreadUnsafeBasicAssertion

class LazyThreadUnsafeBasicAssertion : IBasicAssertion

Represents an IBasicAssertion which is evaluated lazily where the lazy loading is not thread safe.

Constructors

<init>

LazyThreadUnsafeBasicAssertion(assertionCreator: () -> IBasicAssertion)

Represents an IBasicAssertion which is evaluated lazily where the lazy loading is not thread safe.

Properties

description

val description: <ERROR CLASS>

The complementary description to the expected result such as contains, is not etc.

expected

val expected: <ERROR CLASS>

The expected result.

Functions

holds

fun holds(): <ERROR CLASS>

Indicates whether the assertion holds or not.