Class SelfDescribingValue<T>

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void describeTo​(Description description)
      Generates a description of the object.
      • Methods inherited from class java.lang.Object

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

      • SelfDescribingValue

        public SelfDescribingValue​(T value)
    • Method Detail

      • describeTo

        public void describeTo​(Description description)
        Description copied from interface: SelfDescribing
        Generates a description of the object. The description may be part of a a description of a larger object of which this is just a component, so it should be worded appropriately.
        Specified by:
        describeTo in interface SelfDescribing
        Parameters:
        description - The description to be built or appended to.