Class ObjectAssertFactory<T>

    • 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 the custom Assert object for the given element value