152153154155156157158
* Check that the passed optional is present. * * @return the matcher on the optional */ default org.hamcrest.Matcher<OptionalInt> optionalIntIsPresent() { return new OptionalIntPresentMatcher(is(true)); }
161162163164165166167
* 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)); }