@Test public void getSpecificIncludesAllTheThings() {

  when(groupDAO.getGroupById(4444)).thenReturn(Optional.of(group));
  SanitizedSecret secret =
      SanitizedSecret.of(1, "name", null, "checksum", now, "creator", now, "creator", null, null,
          null, 1136214245, 125L, now, "creator");
  when(aclDAO.getSanitizedSecretsFor(group)).thenReturn(ImmutableSet.of(secret));
  Client client =
      new Client(1, "client", "desc", null, now, "creator", now, "creator", null, null, true, false
      );
  when(aclDAO.getClientsFor(group)).thenReturn(ImmutableSet.of(client));
  GroupDetailResponse response = resource.getGroup(user, new LongParam("4444"));
  assertThat(response.getId()).isEqualTo(group.getId());
  assertThat(response.getName()).isEqualTo(group.getName());
  assertThat(response.getDescription()).isEqualTo(group.getDescription());
  assertThat(response.getCreationDate()).isEqualTo(group.getCreatedAt());
  assertThat(response.getCreatedBy()).isEqualTo(group.getCreatedBy());
  assertThat(response.getUpdateDate()).isEqualTo(group.getUpdatedAt());
  assertThat(response.getUpdatedBy()).isEqualTo(group.getUpdatedBy());
  assertThat(response.getSecrets()).containsExactly(secret);
  assertThat(response.getClients()).containsExactly(client);
}