atrium-impl-common / ch.tutteli.atrium.assertions

Package ch.tutteli.atrium.assertions

Types

AssertionGroup

data class AssertionGroup : IAssertionGroup

Represents a group of IAssertions identified by a name and an associated subject.

FeatureAssertionGroup

data class FeatureAssertionGroup : IFeatureAssertionGroup

Represents a group of IAssertion identified by a featureName and a belonging feature.

IAssertion

interface IAssertion

The base interface of all assertions, providing the method holds.

IAssertionGroup

interface IAssertionGroup : IAssertion

The base interface for IAssertion groups, providing a default implementation for IAssertion.holds which returns true if all its assertions hold.

IFeatureAssertionGroup

interface IFeatureAssertionGroup : IAssertion

The base interface for feature IAssertion groups, providing a default implementation for IAssertion.holds which returns true if all its assertions hold.

IMultiMessageAssertion

interface IMultiMessageAssertion : IAssertion

The base interface for IAssertions which have multiple Messages.

IOneMessageAssertion

interface IOneMessageAssertion : IAssertion

The base interface for IAssertions which have one Message.

Message

data class Message

Represents a message of an IAssertion.

OneMessageAssertion

class OneMessageAssertion : IOneMessageAssertion

A default implementation for IOneMessageAssertion.