@Test
  public void createGroupJsonEmpty() throws Exception {

    Group scimGroup = new Group();
    scimGroup.setDisplayName("name");

    request.setMethod("POST");
    request.setVersion("HTTP/1.0");
    request.setHeader("Authorization", "Basic dXNyOnB3");

    request.setURI("/v1/Groups");
    request.setHeader(
        "Content-Length", Integer.toString(scimGroup.getGroup(Group.ENCODING_JSON).length()));
    request.setHeader("Content-Type", "application/x-www-form-urlencoded");
    request.setContent(scimGroup.getGroup(Group.ENCODING_JSON));
    response.parse(tester.getResponses(request.generate()));

    postTesterJson(response);
  }
  private void postTester(HttpTester response, Group g) throws Exception {

    Assert.assertNotNull("id is null", g.getId());
    Assert.assertEquals("name", g.getDisplayName());
  }