Package io.atlassian.fugue.hamcrest
Class EitherMatchers.LeftMatcher<L>
- java.lang.Object
-
- org.hamcrest.BaseMatcher<T>
-
- org.hamcrest.TypeSafeMatcher<Either<L,?>>
-
- io.atlassian.fugue.hamcrest.EitherMatchers.LeftMatcher<L>
-
- All Implemented Interfaces:
org.hamcrest.Matcher<Either<L,?>>,org.hamcrest.SelfDescribing
- Enclosing class:
- EitherMatchers
private static class EitherMatchers.LeftMatcher<L> extends org.hamcrest.TypeSafeMatcher<Either<L,?>>
-
-
Field Summary
Fields Modifier and Type Field Description private org.hamcrest.Matcher<? super L>subMatcher
-
Constructor Summary
Constructors Modifier Constructor Description privateLeftMatcher(org.hamcrest.Matcher<? super L> subMatcher)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voiddescribeMismatchSafely(Either<L,?> actual, org.hamcrest.Description mismatchDescription)voiddescribeTo(org.hamcrest.Description description)protected booleanmatchesSafely(Either<L,?> actual)
-
-
-
Field Detail
-
subMatcher
private final org.hamcrest.Matcher<? super L> subMatcher
-
-
Constructor Detail
-
LeftMatcher
private LeftMatcher(org.hamcrest.Matcher<? super L> subMatcher)
-
-