Class PrimitiveFloatArraySubject.IterableSubjectWithInheritedToString

    • Constructor Detail

      • IterableSubjectWithInheritedToString

        IterableSubjectWithInheritedToString​(FailureMetadata metadata,
                                             java.lang.Iterable<?> actual)
    • Method Detail

      • actualCustomStringRepresentation

        protected java.lang.String actualCustomStringRepresentation()
        Description copied from class: Subject
        Supplies the direct string representation of the actual value to other methods which may prefix or otherwise position it in an error message. This should only be overridden to provide an improved string representation of the value under test, as it would appear in any given error message, and should not be used for additional prefixing.

        Subjects should override this with care.

        By default, this returns String.ValueOf(getActualValue()).

        Overrides:
        actualCustomStringRepresentation in class IterableSubject