DescriptionRepresentationStep

Step which allows to specify the description and representation of the change.

Parameters

SubjectT

the type of the current subject.

Inheritors

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The previously specified assertion container to which the new Expect will delegate assertion checking.

Functions

Link copied to clipboard

Uses DescriptionAnyExpectation.TO_BE_AN_INSTANCE_OF as description of the change, the given subType as representation and tries to perform a down-cast of container's AssertionContainer.maybeSubject to the given type SubTypeOfSubjectT

Link copied to clipboard

Uses the given description and representation to represent the change. Moreover, subsequent options in the building step allow to define rules when the change cannot be applied, in such a case an alternative description and representation might be used (depending on the implementation and chosen options).

Uses the given description and representation to represent the change by delegating to the other overload which expects a Translatable instead of a String.