}
ArrayList<TestObjectCreationFactory> list = (ArrayList<TestObjectCreationFactory>) obj;
assertEquals("List should contain only the factory object", list.size() , 1);
TestObjectCreationFactory factory = list.get(0);
assertEquals("Object create not called(1)", factory.called , true);
assertEquals(
"Attribute not passed (1)",
factory.attributes.getValue("one"),
"good");