ClientDAO { public ImmutableSet<Client> getClients() { List<Client> r = dslContext .selectFrom(CLIENTS) .fetch() .map(clientMapper); return ImmutableSet.copyOf(r); } private  ClientDAO(DSLContext dslContext, ClientMapper clientMapper,
      RowHmacGenerator rowHmacGenerator); long createClient(String name, String user, String description,
      @Nullable URI spiffeId); void deleteClient(Client client); void sawClient(Client client, @Nullable Principal principal); Optional<Client> getClientByName(String name); Optional<Client> getClientBySpiffeId(URI spiffeId); Optional<Client> getClientById(long id); ImmutableSet<Client> getClients();  }
@Test public void getsClients() { Set<Client> clients = clientDAO.getClients(); assertThat(clients).containsOnly(client1, client2); }