/** * Creates a matcher that matches when either of the specified matchers match the examined object. * <p/> * For example: * <pre>assertThat("fan", either(containsString("a")).and(containsString("b")))</pre> */ @Factory public static <LHS> CombinableEitherMatcher<LHS> either(Matcher<? super LHS> matcher) { return new CombinableEitherMatcher<LHS>(matcher); }
/** * Creates a matcher that matches when either of the specified matchers match the examined object. * <p/> * For example: * <pre>assertThat("fan", either(containsString("a")).and(containsString("b")))</pre> */ @Factory public static <LHS> CombinableEitherMatcher<LHS> either(Matcher<? super LHS> matcher) { return new CombinableEitherMatcher<LHS>(matcher); }
/** * Creates a matcher that matches when either of the specified matchers match the examined object. * <p/> * For example: * <pre>assertThat("fan", either(containsString("a")).and(containsString("b")))</pre> */ @Factory public static <LHS> CombinableEitherMatcher<LHS> either(Matcher<? super LHS> matcher) { return new CombinableEitherMatcher<LHS>(matcher); }
/** * Creates a matcher that matches when either of the specified matchers match the examined object. * <p/> * For example: * <pre>assertThat("fan", either(containsString("a")).and(containsString("b")))</pre> */ @Factory public static <LHS> CombinableEitherMatcher<LHS> either(Matcher<? super LHS> matcher) { return new CombinableEitherMatcher<LHS>(matcher); }
/** * Creates a matcher that matches when either of the specified matchers match the examined object. * <p/> * For example: * <pre>assertThat("fan", either(containsString("a")).and(containsString("b")))</pre> */ @Factory public static <LHS> CombinableEitherMatcher<LHS> either(Matcher<? super LHS> matcher) { return new CombinableEitherMatcher<LHS>(matcher); }
/** * Creates a matcher that matches when either of the specified matchers match the examined object. * <p/> * For example: * <pre>assertThat("fan", either(containsString("a")).and(containsString("b")))</pre> */ @Factory public static <LHS> CombinableEitherMatcher<LHS> either(Matcher<? super LHS> matcher) { return new CombinableEitherMatcher<LHS>(matcher); }
/** * Creates a matcher that matches when either of the specified matchers match the examined object. * <p/> * For example: * <pre>assertThat("fan", either(containsString("a")).and(containsString("b")))</pre> */ @Factory public static <LHS> CombinableEitherMatcher<LHS> either(Matcher<? super LHS> matcher) { return new CombinableEitherMatcher<LHS>(matcher); }
/** * Creates a matcher that matches when either of the specified matchers match the examined object. * <p/> * For example: * <pre>assertThat("fan", either(containsString("a")).and(containsString("b")))</pre> */ @Factory public static <LHS> CombinableEitherMatcher<LHS> either(Matcher<? super LHS> matcher) { return new CombinableEitherMatcher<LHS>(matcher); }
/** * Creates a matcher that matches when either of the specified matchers match the examined object. * <p/> * For example: * <pre>assertThat("fan", either(containsString("a")).and(containsString("b")))</pre> */ @Factory public static <LHS> CombinableEitherMatcher<LHS> either(Matcher<? super LHS> matcher) { return new CombinableEitherMatcher<LHS>(matcher); }
/** * Creates a matcher that matches when either of the specified matchers match the examined object. * For example: * <pre>assertThat("fan", either(containsString("a")).or(containsString("b")))</pre> */ public static <LHS> CombinableEitherMatcher<LHS> either(Matcher<? super LHS> matcher) { return new CombinableEitherMatcher<>(matcher); }
/** * Creates a matcher that matches when either of the specified matchers match the examined object. * <p/> * For example: * <pre>assertThat("fan", either(containsString("a")).and(containsString("b")))</pre> */ @Factory public static <LHS> CombinableEitherMatcher<LHS> either(Matcher<? super LHS> matcher) { return new CombinableEitherMatcher<LHS>(matcher); }
/** * Creates a matcher that matches when either of the specified matchers match the examined object. * <p/> * For example: * <pre>assertThat("fan", either(containsString("a")).and(containsString("b")))</pre> */ @Factory public static <LHS> CombinableEitherMatcher<LHS> either(Matcher<? super LHS> matcher) { return new CombinableEitherMatcher<LHS>(matcher); }
/** * Creates a matcher that matches when either of the specified matchers match the examined object. * <p/> * For example: * <pre>assertThat("fan", either(containsString("a")).and(containsString("b")))</pre> */ @Factory public static <LHS> CombinableEitherMatcher<LHS> either(Matcher<? super LHS> matcher) { return new CombinableEitherMatcher<LHS>(matcher); }
/** * Creates a matcher that matches when either of the specified matchers match the examined object. * <p/> * For example: * <pre>assertThat("fan", either(containsString("a")).and(containsString("b")))</pre> */ @Factory public static <LHS> CombinableEitherMatcher<LHS> either(Matcher<? super LHS> matcher) { return new CombinableEitherMatcher<LHS>(matcher); }
/** * Creates a matcher that matches when either of the specified matchers match the examined object. * <p/> * For example: * <pre>assertThat("fan", either(containsString("a")).and(containsString("b")))</pre> */ @Factory public static <LHS> CombinableEitherMatcher<LHS> either(Matcher<? super LHS> matcher) { return new CombinableEitherMatcher<LHS>(matcher); }
/** * Creates a matcher that matches when either of the specified matchers match the examined object. * <p/> * For example: * <pre>assertThat("fan", either(containsString("a")).and(containsString("b")))</pre> */ @Factory public static <LHS> CombinableEitherMatcher<LHS> either(Matcher<? super LHS> matcher) { return new CombinableEitherMatcher<LHS>(matcher); }
/** * Creates a matcher that matches when either of the specified matchers match the examined object. * <p/> * For example: * <pre>assertThat("fan", either(containsString("a")).and(containsString("b")))</pre> */ @Factory public static <LHS> CombinableEitherMatcher<LHS> either(Matcher<? super LHS> matcher) { return new CombinableEitherMatcher<LHS>(matcher); }
/** * Creates a matcher that matches when either of the specified matchers match the examined object. * <p/> * For example: * <pre>assertThat("fan", either(containsString("a")).and(containsString("b")))</pre> */ @Factory public static <LHS> CombinableEitherMatcher<LHS> either(Matcher<? super LHS> matcher) { return new CombinableEitherMatcher<LHS>(matcher); }
/** * Creates a matcher that matches when either of the specified matchers match the examined object. * For example: * <pre>assertThat("fan", either(containsString("a")).or(containsString("b")))</pre> */ public static <LHS> CombinableEitherMatcher<LHS> either(Matcher<? super LHS> matcher) { return new CombinableEitherMatcher<LHS>(matcher); }
/** * Creates a matcher that matches when either of the specified matchers match the examined object. * For example: * <pre>assertThat("fan", either(containsString("a")).or(containsString("b")))</pre> */ public static <LHS> CombinableEitherMatcher<LHS> either(Matcher<? super LHS> matcher) { return new CombinableEitherMatcher<>(matcher); }