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 customAssert
instance 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
-
Constructor Details
-
ObjectAssertFactory
public ObjectAssertFactory()Deprecated.
-
-
Method Details
-
createAssert
Deprecated.Creates the customAssert
instance for the given value.Typically, this will just invoke
assertThat(actual)
.- Specified by:
createAssert
in interfaceAssertFactory<T,
ObjectAssert<T>> - Parameters:
actual
- the input value for theAssert
instance- Returns:
- the custom
Assert
instance for the given value
-
Assertions.assertThat(Object)
instead.