@Test public void deleteGroup() {

  int before = tableSize();
  groupDAO.deleteGroup(group1);
  assertThat(tableSize()).isEqualTo(before - 1);
  assertThat(groupDAO.getGroups()).containsOnly(group2);
}