@Test public void listClients() {

  Client client1 =
      new Client(1, "client", "1st client", null, now, "test", now, "test", null, null, true,
          false
      );
  Client client2 =
      new Client(2, "client2", "2nd client", null, now, "test", now, "test", null, null, true,
          false
      );
  when(clientDAO.getClients()).thenReturn(ImmutableSet.of(client1, client2));
  List<Client> response = resource.listClients(user);
  assertThat(response).containsOnly(client1, client2);
}