@Transactional
public void testRelationshipRemoveProperty() {
Person james = persistedPerson("James", 36);
Person john = persistedPerson("John", 36);
Friendship f = john.knows(james);
DynamicProperties props = f.getPersonalProperties();
props.setProperty("s", "String");
props.setProperty("x", 100);
props.setProperty("pi", 3.1415);
Relationship rel = john.getPersistentState().getSingleRelationship(DynamicRelationshipType.withName("knows"), Direction.OUTGOING);
assertProperties(rel, "Friendship.");
john.persist();
props.removeProperty("s");
rel = john.getPersistentState().getSingleRelationship(DynamicRelationshipType.withName("knows"), Direction.OUTGOING);
final String prefix = "Friendship.";
assertEquals(100, rel.getProperty(prefix + "personalProperties-x"));
assertEquals(3.1415, ((Double)rel.getProperty(prefix + "personalProperties-pi")).doubleValue(), 0.000000001);