public class ServiceOutcomeMatchers extends Object
ServiceOutcome
.Modifier and Type | Method and Description |
---|---|
static <T> ValueMatcher<T> |
equalTo(org.hamcrest.Matcher<? super T> matcher) |
static <T> ValueMatcher<T> |
equalTo(T value) |
static ErrorMatcher |
errorMatcher() |
static ErrorMatcher |
errorMatcher(String key,
String value,
ErrorCollection.Reason reason) |
static ErrorMatcher |
noError() |
static <T> ValueMatcher<T> |
nullValue(Class<T> value) |
public static <T> ValueMatcher<T> equalTo(T value)
public static <T> ValueMatcher<T> nullValue(Class<T> value)
public static <T> ValueMatcher<T> equalTo(org.hamcrest.Matcher<? super T> matcher)
public static ErrorMatcher errorMatcher()
public static ErrorMatcher noError()
public static ErrorMatcher errorMatcher(String key, String value, ErrorCollection.Reason reason)
Copyright © 2002-2015 Atlassian. All Rights Reserved.