}
@Test
public void testEntityReference() {
EntityReference o = new EntityReference();
o.setReferredEntity(new DummyEntity(1));
// Test correct class and differing object instances
final Object ocopy = o.clone();
Assert.assertTrue(ocopy instanceof EntityReference);
Assert.assertFalse(o == ocopy);