org.junit.rules.TestRulepublic class HttpDataSourceTestEnv
extends org.junit.rules.ExternalResource
Rule that creates test resources for HttpDataSource contract tests.| Constructor | Description |
|---|---|
HttpDataSourceTestEnv() |
| Modifier and Type | Method | Description |
|---|---|---|
protected void |
after() |
|
protected void |
before() |
|
String |
getNonexistentUrl() |
|
ImmutableList<DataSourceContractTest.TestResource> |
getServedResources() |
public ImmutableList<DataSourceContractTest.TestResource> getServedResources()
public String getNonexistentUrl()
protected void before()
throws Throwable
before in class org.junit.rules.ExternalResourceThrowableprotected void after()
after in class org.junit.rules.ExternalResource