@Test void testCount() { when(decoratedRepository.count(transformedQuery)).thenReturn(123L); assertEquals(123L, icd10ExpanderDecorator.count(query)); }
@Override public long count(Query<Entity> query) { query = query != null ? transformQuery(query) : null; return delegate().count(query); }
Icd10ExpanderDecorator extends AbstractRepositoryDecorator<Entity> { @Override public long count(Query<Entity> query) { query = query != null ? transformQuery(query) : null; return delegate().count(query); } }
Icd10ExpanderDecorator extends AbstractRepositoryDecorator<Entity> { @Override public long count(Query<Entity> query) { query = query != null ? transformQuery(query) : null; return delegate().count(query); } Icd10ExpanderDecorator(
      Repository<Entity> delegateRepository,
      CollectionsQueryTransformer queryTransformer,
      String icd10EntityTypeId,
      String expandAttribute); }
Icd10ExpanderDecorator extends AbstractRepositoryDecorator<Entity> { @Override public long count(Query<Entity> query) { query = query != null ? transformQuery(query) : null; return delegate().count(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 long count(Query<Entity> query) { query = query != null ? transformQuery(query) : null; return delegate().count(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);  }