com.atlassian.gadgets.test
Class Matchers
java.lang.Object
com.atlassian.gadgets.test.Matchers
public final class Matchers
- extends Object
Method Summary |
static org.hamcrest.Matcher<? super javax.ws.rs.core.Response> |
badRequest()
|
static org.hamcrest.Matcher<? super javax.ws.rs.core.Response> |
created()
|
static
<T> org.hamcrest.Matcher<? super javax.ws.rs.core.Response> |
|
entity(org.hamcrest.Matcher<? super T> entityMatcher)
|
static Matchers.HeaderMatcherBuilder |
header(String header)
|
static org.hamcrest.Matcher<? super javax.ws.rs.core.Response> |
noContent()
|
static org.hamcrest.Matcher<? super javax.ws.rs.core.Response> |
notFound()
|
static org.hamcrest.Matcher<? super javax.ws.rs.core.Response> |
notModified()
|
static org.hamcrest.Matcher<? super javax.ws.rs.core.Response> |
ok()
|
static org.hamcrest.Matcher<? super javax.ws.rs.core.Response> |
unauthorized()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ok
public static org.hamcrest.Matcher<? super javax.ws.rs.core.Response> ok()
notFound
public static org.hamcrest.Matcher<? super javax.ws.rs.core.Response> notFound()
noContent
public static org.hamcrest.Matcher<? super javax.ws.rs.core.Response> noContent()
notModified
public static org.hamcrest.Matcher<? super javax.ws.rs.core.Response> notModified()
badRequest
public static org.hamcrest.Matcher<? super javax.ws.rs.core.Response> badRequest()
unauthorized
public static org.hamcrest.Matcher<? super javax.ws.rs.core.Response> unauthorized()
created
public static org.hamcrest.Matcher<? super javax.ws.rs.core.Response> created()
entity
public static <T> org.hamcrest.Matcher<? super javax.ws.rs.core.Response> entity(org.hamcrest.Matcher<? super T> entityMatcher)
header
public static Matchers.HeaderMatcherBuilder header(String header)
Copyright © 2014 Atlassian. All Rights Reserved.