gui = new AccessLogSamplerGui();
}
public void testCloneSampler() throws Exception
{
AccessLogSampler sampler = (AccessLogSampler)gui.createTestElement();
sampler.addArgument("param","value");
AccessLogSampler clonedSampler = (AccessLogSampler)sampler.clone();
clonedSampler.setRunningVersion(true);
sampler.getArguments().getArgument(0).setValue("new value");
assertEquals(
"Sampler didn't clone correctly",
"new value",
sampler.getArguments().getArgument(0).getValue());