@ContextConfiguration(classes=com.jrfom.gw2.TestAppContext.class) public class BaseApiClientTestClass extends Object
Modifier and Type | Field and Description |
---|---|
protected ApiClient |
apiClient |
protected MockRestServiceServer |
mockServer |
Constructor and Description |
---|
BaseApiClientTestClass() |
Modifier and Type | Method and Description |
---|---|
protected String |
loadExpectedResponse(String reponseFile) |
void |
setup() |
protected void |
setupMockServerFail(String dest,
String expectedResponse) |
protected void |
setupMockServerSuccess(String dest,
String expectedResponse) |
@Autowired protected ApiClient apiClient
protected MockRestServiceServer mockServer
public void setup()
protected String loadExpectedResponse(String reponseFile) throws IOException
IOException
Copyright © 2014. All Rights Reserved.