CombinedFeedService implements CrudService<CombinedFeed> { @Override public CombinedFeed update(CombinedFeed feed) { throw new UnsupportedOperationException("This operation is not implemented yet."); } @Inject  CombinedFeedService(InMemoryDataStore datastore, IdGenerator idGenerator,
                               @Named(DEFAULT_REFRESH_PERIOD) String defaultRefreshPeriod); @Override CombinedFeed save(CombinedFeed insertedFeed); @Override Serializable delete(String feedId); @Override CombinedFeed update(CombinedFeed feed); @Override CombinedFeed get(String feedId); @Override List<CombinedFeed> getAll();  }
@Test(expected = UnsupportedOperationException.class) public void testUpdate() { testedClass.update(null); }