Package io.atlassian.fugue.hamcrest
Class TryMatchers
- java.lang.Object
-
- io.atlassian.fugue.hamcrest.TryMatchers
-
public final class TryMatchers extends java.lang.Object- Since:
- 4.7.0
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description private static classTryMatchers.FailureMatcherprivate static classTryMatchers.SuccessfulMatcher<A>
-
Constructor Summary
Constructors Modifier Constructor Description privateTryMatchers()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static org.hamcrest.Matcher<Try<?>>isFailure()static org.hamcrest.Matcher<Try<?>>isFailure(org.hamcrest.Matcher<? super java.lang.Exception> subMatcher)static <A> org.hamcrest.Matcher<Try<A>>isSuccessful(org.hamcrest.Matcher<? super A> subMatcher)
-
-
-
Method Detail
-
isFailure
public static org.hamcrest.Matcher<Try<?>> isFailure(org.hamcrest.Matcher<? super java.lang.Exception> subMatcher)
-
isFailure
public static org.hamcrest.Matcher<Try<?>> isFailure()
-
isSuccessful
public static <A> org.hamcrest.Matcher<Try<A>> isSuccessful(org.hamcrest.Matcher<? super A> subMatcher)
-
-