Module it.tidalwave.ui.test
Package it.tidalwave.ui.test
Class AggregateAssert<T extends it.tidalwave.util.As>
java.lang.Object
it.tidalwave.ui.test.AggregateAssert<T>
@API(status=EXPERIMENTAL)
public class AggregateAssert<T extends it.tidalwave.util.As>
extends Object
Assertions for the
Aggregate
role.- Since:
- 3.0-ALPHA-3
- Author:
- Fabrizio Giudici
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final it.tidalwave.role.Aggregate
<T> The Aggregate under inspection.The type of the aggregate. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionwithExactItemNames
(String... names) Asserts that theAggregate
under test contains all the items whose names are provided.
-
Field Details
-
aggregateType
The type of the aggregate. -
aggregate
The Aggregate under inspection.
-
-
Constructor Details
-
AggregateAssert
public AggregateAssert()
-
-
Method Details
-
withExactItemNames
Asserts that theAggregate
under test contains all the items whose names are provided.- Parameters:
names
- the names- Returns:
- an object for fluent assertions
-