T
- the type to create assertions for.ASSERT
- the assertions class for T.public interface AssertFactory<T,ASSERT>
Assert
class for a given type.
This factory method typically wraps a call to assertThat(t)
to map to the concrete assert type ASSERT
for the element 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 © 2013–2018 AssertJ. All rights reserved.