@Test void testDelete() { assertThrows( LanguageModificationException.class, () -> languageRepositoryDecorator.delete(mock(Language.class))); }
@Override public void delete(Language language) { throw new LanguageModificationException(); }
LanguageRepositoryDecorator extends AbstractRepositoryDecorator<Language> { @Override public void delete(Language language) { throw new LanguageModificationException(); } }
LanguageRepositoryDecorator extends AbstractRepositoryDecorator<Language> { @Override public void delete(Language language) { throw new LanguageModificationException(); } LanguageRepositoryDecorator(Repository<Language> delegateRepository); }
LanguageRepositoryDecorator extends AbstractRepositoryDecorator<Language> { @Override public void delete(Language language) { throw new LanguageModificationException(); } LanguageRepositoryDecorator(Repository<Language> delegateRepository); @Override void delete(Language language); @Override void delete(Stream<Language> entities); @Override void deleteById(Object id); @Override void deleteAll(Stream<Object> ids); @Override void deleteAll(); @Override void add(Language language); @Override Integer add(Stream<Language> languageStream); }
LanguageRepositoryDecorator extends AbstractRepositoryDecorator<Language> { @Override public void delete(Language language) { throw new LanguageModificationException(); } LanguageRepositoryDecorator(Repository<Language> delegateRepository); @Override void delete(Language language); @Override void delete(Stream<Language> entities); @Override void deleteById(Object id); @Override void deleteAll(Stream<Object> ids); @Override void deleteAll(); @Override void add(Language language); @Override Integer add(Stream<Language> languageStream);  }