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