MvcResult result = ControllerUtil.performRouterRequest(mockMvc, edRequest);
List<ExtDirectResponse> responses = ControllerUtil.readDirectResponses(result
.getResponse().getContentAsByteArray());
assertThat(responses).hasSize(1);
ExtDirectResponse resp = responses.get(0);
assertResponse(resp, "delete3");
ExtDirectStoreResult<Integer> storeResponse = ControllerUtil.convertValue(
resp.getResult(), new TypeReference<ExtDirectStoreResult<Integer>>() {
// nothing here
});
assertThat(storeResponse.getTotal()).isNull();
assertThat(storeResponse.isSuccess()).isTrue();
assertThat(storeResponse.getRecords().size()).isEqualTo(1);