@Test public void createClient() throws Exception {

  int before = tableSize();
  clientDAO.createClient("newClient", "creator", "",
      new URI("spiffe://test.env.com/newClient"));
  Client newClient = clientDAO.getClientByName("newClient").orElseThrow(RuntimeException::new);
  assertThat(tableSize()).isEqualTo(before + 1);
  assertThat(clientDAO.getClients()).containsOnly(client1, client2, newClient);
  assertThat(newClient.getCreatedBy()).isEqualTo("creator");
  assertThat(newClient.getSpiffeId()).isEqualTo("spiffe://test.env.com/newClient");
}