@Test void testUpdateStream() { @SuppressWarnings("unchecked") Stream<OidcClient> oidcClientStream = mock(Stream.class); oidcClientRepositoryDecorator.update(oidcClientStream); verify(delegateRepository).update(oidcClientStream); verify(oAuth2AuthorizedClientService).reset(); }
@Override public void update(OidcClient entity) { super.update(entity); oAuth2AuthorizedClientService.reset(); }
OidcClientRepositoryDecorator extends AbstractRepositoryDecorator<OidcClient> { @Override public void update(OidcClient entity) { super.update(entity); oAuth2AuthorizedClientService.reset(); } }
OidcClientRepositoryDecorator extends AbstractRepositoryDecorator<OidcClient> { @Override public void update(OidcClient entity) { super.update(entity); oAuth2AuthorizedClientService.reset(); } OidcClientRepositoryDecorator(
      Repository<OidcClient> delegateRepository,
      ResettableOAuth2AuthorizedClientService oAuth2AuthorizedClientService); }
OidcClientRepositoryDecorator extends AbstractRepositoryDecorator<OidcClient> { @Override public void update(OidcClient entity) { super.update(entity); oAuth2AuthorizedClientService.reset(); } OidcClientRepositoryDecorator(
      Repository<OidcClient> delegateRepository,
      ResettableOAuth2AuthorizedClientService oAuth2AuthorizedClientService); @Override void update(OidcClient entity); @Override void update(Stream<OidcClient> entities); @Override void delete(OidcClient entity); @Override void deleteById(Object id); @Override void deleteAll(); @Override void delete(Stream<OidcClient> entities); @Override void deleteAll(Stream<Object> ids); }
OidcClientRepositoryDecorator extends AbstractRepositoryDecorator<OidcClient> { @Override public void update(OidcClient entity) { super.update(entity); oAuth2AuthorizedClientService.reset(); } OidcClientRepositoryDecorator(
      Repository<OidcClient> delegateRepository,
      ResettableOAuth2AuthorizedClientService oAuth2AuthorizedClientService); @Override void update(OidcClient entity); @Override void update(Stream<OidcClient> entities); @Override void delete(OidcClient entity); @Override void deleteById(Object id); @Override void deleteAll(); @Override void delete(Stream<OidcClient> entities); @Override void deleteAll(Stream<Object> ids);  }