Uses of Interface
org.soliscode.test.assertions.actions.AssertConsumer
Packages that use AssertConsumer
Package
Description
Action classes that implement assertions on the consumed elements.
-
Uses of AssertConsumer in org.soliscode.test.assertions.actions
Classes in org.soliscode.test.assertions.actions that implement AssertConsumerModifier and TypeClassDescriptionclass
A consumer that counts each time it consumes an object and asserts that it has consumed the expected number of objects when done.class
A consumer that checks that is consumes a specified set of objects, consuming each of those objects once, and not consuming any objects not in the set.class
A consumer that expects to consume no objects.class
A consumer that checks that it only consumes objects from a specified set of objects, and not consuming any objects not in the set.Methods in org.soliscode.test.assertions.actions that return AssertConsumerModifier and TypeMethodDescriptionstatic <T> AssertConsumer
<T> AssertActions.assertConsumeNone()
Create a consumer that expect to consume no objects.static <T> AssertConsumer
<T> AssertActions.assertConsumeNone
(@Nullable String message) Create a consumer that expect to consume no objects.static <T> AssertConsumer
<T> AssertActions.assertConsumeNone
(@Nullable Supplier<String> messageSupplier) Create a consumer that expect to consume no objects.static <T> AssertConsumer
<T> AssertActions.consumeCount
(int expected) Create a consumer that expect to consume a specified number of objects.static <T> AssertConsumer
<T> AssertActions.consumeCount
(int expected, @Nullable String message) Create a consumer that expect to consume a specified number of objects.static <T> AssertConsumer
<T> AssertActions.consumeCount
(int expected, @Nullable Supplier<String> messageSupplier) Create a consumer that expect to consume a specified number of objects.static <T> AssertConsumer
<T> AssertActions.consumeExactly
(@NotNull Iterable<T> expected) A consumer that checks that is consumes a specified set of objects.static <T> AssertConsumer
<T> AssertActions.consumeExactly
(@NotNull Iterable<T> expected, @Nullable String message) A consumer that checks that is consumes a specified set of objects.static <T> AssertConsumer
<T> AssertActions.consumeExactly
(@NotNull Iterable<T> expected, @Nullable Supplier<String> messageSupplier) A consumer that checks that is consumes a specified set of objects.static <T> @NotNull AssertConsumer
<T> AssertActions.consumeOnly
(@NotNull Iterable<T> expected) Creates a consumer that checks that it only consumes objects from a specified set of objects.static <T> @NotNull AssertConsumer
<T> AssertActions.consumeOnly
(@NotNull Iterable<T> expected, @Nullable String message) Creates a consumer that checks that it only consumes objects from a specified set of objects.static <T> @NotNull AssertConsumer
<T> AssertActions.consumeOnly
(@NotNull Iterable<T> expected, @Nullable Supplier<String> messageSupplier) Creates a consumer that checks that it only consumes objects from a specified set of objects.