RelationHolder rlHolder = new RelationHolder("parent", p);
Assert.assertEquals("parent", rlHolder.getRelationName());
Assert.assertEquals(p, rlHolder.getRelationValue());
AddressEntity relationEntity = new AddressEntity();
rlHolder = new RelationHolder("child", p, relationEntity);
Assert.assertEquals("child", rlHolder.getRelationName());
Assert.assertEquals(p, rlHolder.getRelationValue());
Assert.assertEquals(relationEntity, rlHolder.getRelationVia());