@Test
public void testParse_MultiBody() throws BodyParseException {

  RequestBodyParser parser = new JsonRequestBodyParser();
  Set<RequestBody> bodySet = parser.parse(multiBody);
  assertEquals(2, bodySet.size());
  for (RequestBody body : bodySet) {
    Set<NamedPropertySet> setProps = body.getNamedPropertySets();
    assertEquals(1, setProps.size());
    Map<String, Object> mapProps = setProps.iterator().next().getProperties();
    assertEquals(4, mapProps.size());
    assertEquals("global", mapProps.get("Hosts/desired_config/type"));
  }
}