Class ObjectAssertFactory<T>

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      ObjectAssert<T> createAssert​(T t)
      Creates the custom Assert object for the given element value.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ObjectAssertFactory

        public ObjectAssertFactory()
    • Method Detail

      • createAssert

        public ObjectAssert<T> createAssert​(T t)
        Description copied from interface: AssertFactory
        Creates the custom Assert object for the given element value. Typically this will just invoke assertThat(t)
        Specified by:
        createAssert in interface AssertFactory<T,​ObjectAssert<T>>
        Parameters:
        t - the type to convert to an Assert object
        Returns:
        returns assertThat(t)