Class AbstractObjectArrayAssert<T,​U extends GenericObjectArrayAssert<T,​U>>

    • Constructor Detail

      • AbstractObjectArrayAssert

        public AbstractObjectArrayAssert()
    • Method Detail

      • hasSameSizeAs

        public U hasSameSizeAs​(java.lang.Iterable<?> other)
        Description copied from interface: EnumerableAssert
        Verifies that the enumerable has the same size as the other.
        Specified by:
        hasSameSizeAs in interface EnumerableAssert<T,​U extends EnumerableAssert<T,​U>>
        Parameters:
        other - the other
        Returns:
        the enumerable assert
      • hasSameSizeAs

        public U hasSameSizeAs​(java.lang.Object array)
        Description copied from interface: EnumerableAssert
        Verifies that the enumerable has the same size as the array.
        Specified by:
        hasSameSizeAs in interface EnumerableAssert<T,​U extends EnumerableAssert<T,​U>>
        Parameters:
        array - the other
        Returns:
        the enumerable assert
      • hasSize

        public U hasSize​(int expected)
        Description copied from interface: EnumerableAssert
        Verifies that the enumerable has the expected size.
        Specified by:
        hasSize in interface EnumerableAssert<T,​U extends EnumerableAssert<T,​U>>
        Parameters:
        expected - the array
        Returns:
        the enumerable assert