Uses of Class
org.hamcrest.core.CombinableMatcher

Packages that use CombinableMatcher
org.hamcrest The stable API defining Matcher and its associated interfaces and classes. 
org.hamcrest.core Fundamental matchers of objects and values, and composite matchers. 
 

Uses of CombinableMatcher in org.hamcrest
 

Methods in org.hamcrest that return CombinableMatcher
static
<LHS> CombinableMatcher<LHS>
CoreMatchers.both(Matcher<? super LHS> matcher)
          This is useful for fluently combining matchers that must both pass.
static
<LHS> CombinableMatcher<LHS>
CoreMatchers.either(Matcher<? super LHS> matcher)
          This is useful for fluently combining matchers where either may pass, for example: assertThat(string, both(containsString("a")).and(containsString("b")));
 

Uses of CombinableMatcher in org.hamcrest.core
 

Methods in org.hamcrest.core that return CombinableMatcher
 CombinableMatcher<T> CombinableMatcher.and(Matcher<? super T> other)
           
static
<LHS> CombinableMatcher<LHS>
CombinableMatcher.both(Matcher<? super LHS> matcher)
          This is useful for fluently combining matchers that must both pass.
static
<LHS> CombinableMatcher<LHS>
CombinableMatcher.either(Matcher<? super LHS> matcher)
          This is useful for fluently combining matchers where either may pass, for example: assertThat(string, both(containsString("a")).and(containsString("b")));
 CombinableMatcher<T> CombinableMatcher.or(Matcher<? super T> other)
           
 



Copyright © 2010. All Rights Reserved.