### Question:
LuceneAspspRepository implements AspspRepository { @Override public List<Aspsp> findByBic(String bic, String after, int size) { logger.debug("Searching for ASPSPs: by BIC [{}]", bic); Query query = getBicQuery(bic); return find(query, after, size); } LuceneAspspRepository(Directory directory); Aspsp save(Aspsp aspsp); @Override void deleteById(String aspspId); @Override void deleteAll(); @Override void saveAll(List<Aspsp> aspsps); @Override Optional<Aspsp> findById(String id); @Override List<Aspsp> findByBic(String bic, String after, int size); @Override List<Aspsp> findByBankCode(String bankCode, String after, int size); @Override List<Aspsp> findByName(String name, String after, int size); @Override List<Aspsp> findAll(String after, int size); @Override List<Aspsp> findLike(Aspsp aspsp, String after, int size); @Override List<Aspsp> findByIban(String iban, String after, int size);  }### Answer:
@Test void findByBic_NotFound() { List<Aspsp> found = luceneAspspRepository.findByBic("bic"); assertThat(found).isEmpty(); }