public class ResourceTestRule extends Object implements org.junit.rules.TestRule
TestRule for testing Jersey resources.| Modifier and Type | Class and Description |
|---|---|
static class |
ResourceTestRule.Builder |
static class |
ResourceTestRule.ResourceTestResourceConfig |
| Modifier and Type | Method and Description |
|---|---|
org.junit.runners.model.Statement |
apply(org.junit.runners.model.Statement base,
org.junit.runner.Description description) |
static ResourceTestRule.Builder |
builder() |
javax.ws.rs.client.Client |
client() |
org.glassfish.jersey.test.JerseyTest |
getJerseyTest() |
com.fasterxml.jackson.databind.ObjectMapper |
getObjectMapper() |
javax.validation.Validator |
getValidator() |
public static ResourceTestRule.Builder builder()
public javax.validation.Validator getValidator()
public com.fasterxml.jackson.databind.ObjectMapper getObjectMapper()
public javax.ws.rs.client.Client client()
public org.glassfish.jersey.test.JerseyTest getJerseyTest()
public org.junit.runners.model.Statement apply(org.junit.runners.model.Statement base,
org.junit.runner.Description description)
apply in interface org.junit.rules.TestRuleCopyright © 2015. All rights reserved.