EncryptionKeyCanaryDataService { public List<EncryptionKeyCanary> findAll() { return encryptionKeyCanaryRepository.findAll(); } @Autowired  EncryptionKeyCanaryDataService(final EncryptionKeyCanaryRepository encryptionKeyCanaryRepository); EncryptionKeyCanary save(final EncryptionKeyCanary canary); List<EncryptionKeyCanary> findAll(); void delete(final List<UUID> uuids);  }
@Test public void findAll_whenThereAreNoCanaries_returnsEmptyList() { assertThat(subject.findAll(), hasSize(0)); }