@Test
public void deleteGroupTest() {

    Response response = target().path("groups/testGroup").request().delete();
    assertEquals(response.getStatus(), 200);
    verify(engineManager).deleteGroup(ENGINE_NAME, "testGroup");
}