### Question:
GroupPluginConfigurationUpdate extends AbstractGroupConfigurationUpdate { public List<PluginConfigurationUpdate> getConfigurationUpdates() { return this.configurationUpdates; } protected  GroupPluginConfigurationUpdate();  GroupPluginConfigurationUpdate(ResourceGroup group, String subjectName); void setConfigurationUpdates(List<PluginConfigurationUpdate> configurationUpdates); List<PluginConfigurationUpdate> getConfigurationUpdates(); PluginConfigurationUpdate getPluginConfigurationUpdate(Resource updateTarget); static final String QUERY_FIND_BY_GROUP_ID; static final String QUERY_FIND_LATEST_BY_GROUP_ID; static final String QUERY_DELETE_BY_ID; }### Answer:
@Test public void serializationShouldCopyConfigurationUpdates() throws Exception { GroupPluginConfigurationUpdate update = new GroupPluginConfigurationUpdate(); update.getConfigurationUpdates().add(new PluginConfigurationUpdate(new Resource(), new Configuration(), "rhqadmin")); GroupPluginConfigurationUpdate serializedUpdate = TestUtil.serializeAndDeserialize(update); assertEquals( serializedUpdate.getConfigurationUpdates(), update.getConfigurationUpdates(), "Failed to properly serialize the 'configurationUpdate' property" ); }