Package org.assertj.core.api
Class ObjectAssertFactory<T>
- java.lang.Object
-
- org.assertj.core.api.ObjectAssertFactory<T>
-
- All Implemented Interfaces:
AssertFactory<T,ObjectAssert<T>>
public class ObjectAssertFactory<T> extends Object implements AssertFactory<T,ObjectAssert<T>>
- Since:
- 2.5.0 / 3.5.0
-
-
Constructor Summary
Constructors Constructor Description ObjectAssertFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ObjectAssert<T>
createAssert(T t)
Creates the custom Assert object for the given element value.
-
-
-
Method Detail
-
createAssert
public ObjectAssert<T> createAssert(T t)
Description copied from interface:AssertFactory
Creates the custom Assert object for the given element value. Typically this will just invokeassertThat(t)
- Specified by:
createAssert
in 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
-
-