### Question:
StandardInteractiveSpacesDomainCloner implements InteractiveSpacesDomainCloner { @Override public ActivityConfiguration cloneConfiguration(ActivityConfiguration src) { if (src == null) { return null; } ActivityConfiguration clone = activityRepository.newActivityConfiguration(); String name = src.getName(); if (name != null) { clone.setName(namePrefix + " " + name); clone.setDescription(src.getDescription()); } clone.setDescription(src.getDescription()); for (ConfigurationParameter parameter : src.getParameters()) { ConfigurationParameter clonedParameter = activityRepository.newActivityConfigurationParameter(); clonedParameter.setName(parameter.getName()); clonedParameter.setValue(parameter.getValue()); clone.addParameter(clonedParameter); } return clone; } StandardInteractiveSpacesDomainCloner(ActivityRepository activityRepository); @Override void setNamePrefix(String namePrefix); @Override void setControllerMap(Map<SpaceController, SpaceController> controllerMap); @Override void saveClones(); @Override LiveActivity cloneLiveActivity(LiveActivity src); @Override LiveActivity getClonedLiveActivity(String srcId); @Override ActivityConfiguration cloneConfiguration(ActivityConfiguration src); @Override LiveActivityGroup cloneLiveActivityGroup(LiveActivityGroup src); @Override LiveActivityGroup getClonedLiveActivityGroup(String srcId); @Override Space cloneSpace(Space src); @Override Space getClonedSpace(String srcId);  }### Answer:
@Test public void testConfiguration() { ActivityConfiguration srcConfiguration = new SimpleActivityConfiguration(); srcConfiguration.setDescription(DESCRIPTION); srcConfiguration.addParameter(new SimpleConfigurationParameter("foo", "bar")); srcConfiguration.addParameter(new SimpleConfigurationParameter("bletch", "spam")); ActivityConfiguration clonedConfiguration = cloner.cloneConfiguration(srcConfiguration); compareConfigurations(srcConfiguration, clonedConfiguration); }