SystemSettingsConfiguration implements IConfiguration { @Override public void update( Properties properties ) throws IOException { throw new UnsupportedOperationException( "SystemSettings does not support write-back" ); } SystemSettingsConfiguration( String id, ISystemSettings settings ); @Override String getId(); @Override Properties getProperties(); @Override void update( Properties properties );  }
@Test( expected = UnsupportedOperationException.class ) public void testUpdate() throws Exception { config.update( new Properties() ); }