Class UnambiguousRepresentation

    • Field Detail

      • actual

        private final String actual
      • expected

        private final String expected
    • Constructor Detail

      • UnambiguousRepresentation

        public UnambiguousRepresentation​(Representation representation,
                                         Object actual,
                                         Object expected)
    • Method Detail

      • getActual

        public String getActual()
        Provide a representation of actual guaranteed to be different from getExpected().
        Returns:
        a suitable representation of the actual object given at construction time.
      • getExpected

        public String getExpected()
        Provide a representation of expected guaranteed to be different from getActual().
        Returns:
        a suitable representation of the expected object given at construction time.