java.lang.Object
org.assertj.core.api.ObjectAssertFactory<T>
- All Implemented Interfaces:
AssertFactory<T,ObjectAssert<T>>
@Deprecated(since="3",
forRemoval=true)
public class ObjectAssertFactory<T>
extends Object
implements AssertFactory<T,ObjectAssert<T>>
Deprecated, for removal: This API element is subject to removal in a future version.
- 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
ConstructorsConstructorDescriptionDeprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and TypeMethodDescriptioncreateAssert(T actual) Deprecated, for removal: This API element is subject to removal in a future version.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, for removal: This API element is subject to removal in a future version.
-
-
Method Details
-
createAssert
Deprecated, for removal: This API element is subject to removal in a future version.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.