return war;
}
protected void assertResponse(Map<String, String> expected, String actual) throws Exception {
ObjectMapper mapper = new ObjectMapper();
JsonNode root = mapper.readTree(actual);
for (Map.Entry<String, String> entry : expected.entrySet()) {
Assert.assertEquals(entry.getValue(), root.get(entry.getKey()).asText());
}
}