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
  • Constructor Details

    • ObjectAssertFactory

      public ObjectAssertFactory()
      Deprecated.
  • Method Details

    • createAssert

      public ObjectAssert<T> createAssert(T actual)
      Deprecated.
      Creates the custom Assert instance for the given value.

      Typically, this will just invoke assertThat(actual).

      Specified by:
      createAssert in interface AssertFactory<T,ObjectAssert<T>>
      Parameters:
      actual - the input value for the Assert instance
      Returns:
      the custom Assert instance for the given value