Package ch.powerunit.matchers.optional

Examples of ch.powerunit.matchers.optional.OptionalIntPresentMatcher


   * Check that the passed optional is present.
   *
   * @return the matcher on the optional
   */
  default org.hamcrest.Matcher<OptionalInt> optionalIntIsPresent() {
    return new OptionalIntPresentMatcher(is(true));
  }
View Full Code Here


   * Check that the passed optional is not present.
   *
   * @return the matcher on the optional
   */
  default org.hamcrest.Matcher<OptionalInt> optionalIntIsNotPresent() {
    return new OptionalIntPresentMatcher(not(true));
  }
View Full Code Here

     * Check that the passed optional is present.
     *
     * @return the matcher on the optional
     */
    default org.hamcrest.Matcher<OptionalInt> optionalIntIsPresent() {
        return new OptionalIntPresentMatcher(is(true));
    }
View Full Code Here

     * Check that the passed optional is not present.
     *
     * @return the matcher on the optional
     */
    default org.hamcrest.Matcher<OptionalInt> optionalIntIsNotPresent() {
        return new OptionalIntPresentMatcher(not(true));
    }
View Full Code Here

TOP

Related Classes of ch.powerunit.matchers.optional.OptionalIntPresentMatcher

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.