-
Notifications
You must be signed in to change notification settings - Fork 0
Mock
gorskip edited this page Jun 23, 2018
·
4 revisions
[
{
"name": "myFirstMock",
"expected": {
"status": 200,
"headers": null,
"body": {
"id": 1,
"name": "Mock response",
"type": ["mock"]
}
},
"response": {
"status": 200,
"headers": null,
"body": {
"id": 1,
"name": "Mock response",
"type": ["test", "mock"]
}
}
}
]
RestMock restMock = new Mock("fileNameFromResource")
.restMock("myFirstMock");
Response response = restMock.getResponse();
Expected expected = restMock.getExpected();
- Quickstart
- Configuration
- Reporter
- RestClient
- DbClient
- TestRunner
- Custom Tests
- Assertions
- JsonMapper
- Mock
- Logs
- Dependencies