Class IterableSubject.NotInOrder

  • All Implemented Interfaces:
    Ordered
    Enclosing class:
    IterableSubject<S extends IterableSubject<S,​T,​C>,​T,​C extends java.lang.Iterable<T>>

    private class IterableSubject.NotInOrder
    extends java.lang.Object
    implements Ordered
    Ordered implementation that always fails.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.lang.String check  
      private java.lang.Iterable<?> required  
    • Constructor Summary

      Constructors 
      Constructor Description
      NotInOrder​(java.lang.String check, java.lang.Iterable<?> required)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void inOrder()
      An additional assertion, implemented by some containment subjects which allows for a further constraint of orderedness.
      • Methods inherited from class java.lang.Object

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

      • check

        private final java.lang.String check
      • required

        private final java.lang.Iterable<?> required
    • Constructor Detail

      • NotInOrder

        NotInOrder​(java.lang.String check,
                   java.lang.Iterable<?> required)
    • Method Detail

      • inOrder

        public void inOrder()
        Description copied from interface: Ordered
        An additional assertion, implemented by some containment subjects which allows for a further constraint of orderedness.
        Specified by:
        inOrder in interface Ordered