Boolean bool2 = new Boolean( false );
Node node1 = getGraphDb().createNode();
node1.setProperty( key1, int1 );
node1.setProperty( key1, int2 );
assertEquals( int2, node1.getProperty( key1 ) );
node1.removeProperty( key1 );
node1.setProperty( key1, string1 );
node1.setProperty( key1, string2 );
assertEquals( string2, node1.getProperty( key1 ) );
node1.removeProperty( key1 );
node1.setProperty( key1, bool1 );