Node node2 = getGraphDb().createNode();
Relationship rel1 = node1.createRelationshipTo( node2, MyRelTypes.TEST );
rel1.setProperty( key1, int1 );
rel1.setProperty( key1, int2 );
assertEquals( int2, rel1.getProperty( key1 ) );
rel1.removeProperty( key1 );
rel1.setProperty( key1, string1 );
rel1.setProperty( key1, string2 );
assertEquals( string2, rel1.getProperty( key1 ) );
rel1.removeProperty( key1 );
rel1.setProperty( key1, bool1 );