Package org.linkki.test.matcher
Class Matchers
java.lang.Object
org.linkki.test.matcher.Matchers
-
Method Summary
Modifier and TypeMethodDescriptionstatic OptionalPresentMatcher<Object> absent()static <T> StreamMatcher<T> static <T> StreamMatcher<T> static voidassertThat(boolean condition) Shortcut forassertThat(condition, is(true))for cases where condition clearly indicates what it does, likeassertThat("".isEmpty())static <T> OptionalValueMatcher<T> hasValue(T value) static <T> PredicateMatcher<T> static <T> PredicateMatcher<T> static OptionalPresentMatcher<Object> present()
-
Method Details
-
absent
-
present
-
hasValue
-
matches
-
matches
-
allMatch
-
anyMatch
-
assertThat
public static void assertThat(boolean condition) Shortcut forassertThat(condition, is(true))for cases where condition clearly indicates what it does, likeassertThat("".isEmpty())- Parameters:
condition- condition to be checked
-