public void test_CopyOf()
{
Location l = newLocation();
IComponentSpecification spec = new ComponentSpecification();
run(spec, "componentWithBindings", "getComponentWithBindings", l);
IContainedComponent cc = run(spec, "aComponentCopy", "getComponentWithBindingsCopy", l);
IBindingSpecification bs1 = cc.getBinding("condition");
assertSame(l, bs1.getLocation());
assertEquals(BindingType.PREFIXED, bs1.getType());
assertEquals("message", bs1.getValue());
IBindingSpecification bs2 = cc.getBinding("element");
assertEquals("div", bs2.getValue());
}