@Test void testDelete() { OidcClient oidcClient = mock(OidcClient.class); oidcClientRepositoryDecorator.delete(oidcClient); verify(delegateRepository).delete(oidcClient); verify(oAuth2AuthorizedClientService).reset(); }
@Override public void delete(OidcClient entity) { super.delete(entity); oAuth2AuthorizedClientService.reset(); }
OidcClientRepositoryDecorator extends AbstractRepositoryDecorator<OidcClient> { @Override public void delete(OidcClient entity) { super.delete(entity); oAuth2AuthorizedClientService.reset(); } }
OidcClientRepositoryDecorator extends AbstractRepositoryDecorator<OidcClient> { @Override public void delete(OidcClient entity) { super.delete(entity); oAuth2AuthorizedClientService.reset(); } OidcClientRepositoryDecorator(
      Repository<OidcClient> delegateRepository,
      ResettableOAuth2AuthorizedClientService oAuth2AuthorizedClientService); }
OidcClientRepositoryDecorator extends AbstractRepositoryDecorator<OidcClient> { @Override public void delete(OidcClient entity) { super.delete(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 delete(OidcClient entity) { super.delete(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);  }