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 Object
implements AssertFactory<T,ObjectAssert<T>>
Deprecated.
- 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 -
Method Summary
Modifier and TypeMethodDescriptioncreateAssert(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, waitMethods inherited from interface org.assertj.core.api.AssertFactory
createAssert
-
Constructor Details
-
ObjectAssertFactory
public ObjectAssertFactory()Deprecated.
-
-
Method Details
-
createAssert
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
-
Assertions.assertThat(Object)instead.