Package org.assertj.core.api
Class ObjectAssertFactory<T>
- java.lang.Object
-
- org.assertj.core.api.ObjectAssertFactory<T>
-
- All Implemented Interfaces:
AssertFactory<T,ObjectAssert<T>>
@Deprecated public class ObjectAssertFactory<T> extends java.lang.Object implements AssertFactory<T,ObjectAssert<T>>
Deprecated.UseAssertions.assertThat(Object)instead.- Since:
- 2.5.0 / 3.5.0
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.assertj.core.api.AssertFactory
AssertFactory.ValueProvider<T>
-
-
Constructor Summary
Constructors Constructor Description ObjectAssertFactory()Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description ObjectAssert<T>createAssert(T actual)Deprecated.Creates the customAssertinstance for the given value.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.assertj.core.api.AssertFactory
createAssert
-
-
-
-
Method Detail
-
createAssert
public ObjectAssert<T> createAssert(T actual)
Deprecated.Creates the customAssertinstance for the given value.Typically, this will just invoke
assertThat(actual).- Specified by:
createAssertin interfaceAssertFactory<T,ObjectAssert<T>>- Parameters:
actual- the input value for theAssertinstance- Returns:
- the custom
Assertinstance for the given value
-
-