@Test public void findsAllCustomers() throws Exception { List<Customer> result = repository.findAll(); assertThat(result, is(notNullValue())); assertFalse(result.isEmpty()); }