@Test void testFindAll() { Stream<Entity> entities = Stream.empty(); when(decoratedRepository.findAll(transformedQuery)).thenReturn(entities); assertEquals(entities, icd10ExpanderDecorator.findAll(query)); }
@Override public Stream<Entity> findAll(Query<Entity> query) { query = query != null ? transformQuery(query) : null; return delegate().findAll(query); }
Icd10ExpanderDecorator extends AbstractRepositoryDecorator<Entity> { @Override public Stream<Entity> findAll(Query<Entity> query) { query = query != null ? transformQuery(query) : null; return delegate().findAll(query); } }
Icd10ExpanderDecorator extends AbstractRepositoryDecorator<Entity> { @Override public Stream<Entity> findAll(Query<Entity> query) { query = query != null ? transformQuery(query) : null; return delegate().findAll(query); } Icd10ExpanderDecorator(
      Repository<Entity> delegateRepository,
      CollectionsQueryTransformer queryTransformer,
      String icd10EntityTypeId,
      String expandAttribute); }
Icd10ExpanderDecorator extends AbstractRepositoryDecorator<Entity> { @Override public Stream<Entity> findAll(Query<Entity> query) { query = query != null ? transformQuery(query) : null; return delegate().findAll(query); } Icd10ExpanderDecorator(
      Repository<Entity> delegateRepository,
      CollectionsQueryTransformer queryTransformer,
      String icd10EntityTypeId,
      String expandAttribute); @Override long count(Query<Entity> query); @Override Entity findOne(Query<Entity> query); @Override Stream<Entity> findAll(Query<Entity> query); @Override AggregateResult aggregate(AggregateQuery aggregateQuery); }
Icd10ExpanderDecorator extends AbstractRepositoryDecorator<Entity> { @Override public Stream<Entity> findAll(Query<Entity> query) { query = query != null ? transformQuery(query) : null; return delegate().findAll(query); } Icd10ExpanderDecorator(
      Repository<Entity> delegateRepository,
      CollectionsQueryTransformer queryTransformer,
      String icd10EntityTypeId,
      String expandAttribute); @Override long count(Query<Entity> query); @Override Entity findOne(Query<Entity> query); @Override Stream<Entity> findAll(Query<Entity> query); @Override AggregateResult aggregate(AggregateQuery aggregateQuery);  }