Example #1
0
  @Test
  public void testFindAllWithClientServiceShouldPass() throws Exception {

    List<Client> clients = clientService.findAll();

    clientService.create(client);

    List<Client> result = clientService.findAll();

    assertThat(result.size(), is(clients.size() + 1));
  }