T - the type of the input to the factory.ASSERT - the type of the resulting Assert.@FunctionalInterface public interface AssertFactory<T,ASSERT extends Assert<?,?>>
Assert for a given value.
This factory method typically wraps a call to assertThat(t) to produce a concrete assert type ASSERT
for the input element of type T.
This interface is typically used by navigation assertions on iterable types like AbstractIterableAssert when calling
assertThat(Iterable<E>, AssertFactory<E, ASSERT>)
| Modifier and Type | Method and Description |
|---|---|
ASSERT |
createAssert(T t)
Creates the custom Assert object for the given element value.
|
Copyright © 2025. All rights reserved.