String userid = TestEnvironment.getSecondaryUserUuid();
PersonField personField = new PersonField();
personField.setName("test_person");
personField.setPosition(1000);
personField.setPerson(new Person(name, email, userid));
srcActivityNode.addField(personField);
activityService.createActivityNode(srcActivityNode);
activityService.createActivityNode(dstActivityNode);
srcActivityNode = activityService.getActivityNode(srcActivityNode.getActivityNodeUuid());
Field f = srcActivityNode.getFields()[0];
ActivityNode an = activityService.moveFieldToEntry(dstActivityNode.getActivityNodeUuid(), f.getFid());
ActivityNode read = activityService.getActivityNode(dstActivityNode.getActivityNodeUuid());
PersonField readField = (PersonField)read.getFields()[0];
Person readPerson = readField.getPerson();
assertEquals("test_person", readField.getName());
assertEquals(name, readPerson.getName());
assertEquals(userid, readPerson.getUserid());
}