@Test
public void testEntityFromZoneByID() {
int idRPO1 = 1;
int idRPO2 = 2;
StendhalRPZone zone = new StendhalRPZone(TEST_ENTITY_HELPER);
RPObject rpo1 = new Entity() {};
rpo1.setID(new RPObject.ID(idRPO1, zone.getID()));
zone.add(rpo1);
RPObject rpo2 = new Entity() {};
rpo2.setID(new RPObject.ID(idRPO2, zone.getID()));
zone.add(rpo2);
Entity entityFromZoneByID = EntityHelper.entityFromZoneByID(idRPO1, zone);
assertThat(entityFromZoneByID, is(rpo1));
assertThat(entityFromZoneByID, not((is(rpo2))));
}