Package org.assertj.core.api
Class ObjectAssertFactory<T>
java.lang.Object
org.assertj.core.api.ObjectAssertFactory<T>
- All Implemented Interfaces:
AssertFactory<T,ObjectAssert<T>>
- Since:
- 2.5.0 / 3.5.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateAssert(T t) Creates the custom Assert object for the given element value.
-
Constructor Details
-
ObjectAssertFactory
public ObjectAssertFactory()
-
-
Method Details
-
createAssert
Description copied from interface:AssertFactoryCreates the custom Assert object for the given element value. Typically this will just invokeassertThat(t)- Specified by:
createAssertin interfaceAssertFactory<T,ObjectAssert<T>> - Parameters:
t- the type to convert to an Assert object- Returns:
- returns the custom Assert object for the given element value
-