doc / ch.tutteli.atrium.assertions / LazyThreadUnsafeAssertionGroup

LazyThreadUnsafeAssertionGroup

class LazyThreadUnsafeAssertionGroup : IAssertionGroup

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

Constructors

<init>

LazyThreadUnsafeAssertionGroup(assertionCreator: () -> IAssertionGroup)

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

Properties

assertions

val assertions: <ERROR CLASS>

The assertions of this group, which are defined for subject.

name

val name: <ERROR CLASS>

The name of the group.

subject

val subject: <ERROR CLASS>

The subject for which the assertions are defined.

type

val type: <ERROR CLASS>

The type of the group, e.g. RootAssertionGroupType.

Functions

holds

fun holds(): <ERROR CLASS>

Holds if all its assertions hold.