final Property<Double> key = OneFourOneToOne.doubleProperty;
assertNotNull(testOne);
assertNotNull(testFour);
final OneFourOneToOne testEntity = createTestRelationship(testOne, testFour, OneFourOneToOne.class);
assertNotNull(testEntity);
try (final Tx tx = app.tx()) {
testEntity.setProperty(key, 3.141592653589793238);
tx.success();
}
try (final Tx tx = app.tx()) {
// check value from database
assertEquals(3.141592653589793238, testEntity.getProperty(key));
Result<OneFourOneToOne> result = app.relationshipQuery(OneFourOneToOne.class).and(key, 3.141592653589793238).getResult();
assertEquals(1, result.size());
assertEquals(testEntity, result.get(0));