Class OptionalMatchers


  • public class OptionalMatchers
    extends java.lang.Object
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static org.hamcrest.Matcher<? super java.util.Optional<?>> isAbsent()  
      static org.hamcrest.Matcher<? super java.util.Optional<?>> isPresent()  
      • Methods inherited from class java.lang.Object

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

      • OptionalMatchers

        public OptionalMatchers()
    • Method Detail

      • isPresent

        public static org.hamcrest.Matcher<? super java.util.Optional<?>> isPresent()
      • isAbsent

        public static org.hamcrest.Matcher<? super java.util.Optional<?>> isAbsent()