Class Assertion


  • public final class Assertion
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      Assertion()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static <T> void assertThat​(T candidate, Quality<? super T> quality)  
      • Methods inherited from class java.lang.Object

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

      • Assertion

        public Assertion()
    • Method Detail

      • assertThat

        public static <T> void assertThat​(T candidate,
                                          Quality<? super T> quality)
                                   throws java.lang.AssertionError
        Throws:
        java.lang.AssertionError