final String[] arr1 = new String[] { "one" };
final String[] arr5 = new String[] { "one", "two", "three", "four", "five" };
properties.put(key, arr1);
TestFour testEntity = null;
try (final Tx tx = app.tx()) {
testEntity = createTestNode(TestFour.class, properties);
tx.success();
}
assertNotNull(testEntity);
Result<TestFour> result = null;
try (final Tx tx = app.tx()) {
result = app.nodeQuery(TestFour.class).and(key, new String[]{"one"}).getResult();
assertEquals(1, result.size());
assertEquals(result.get(0), testEntity);
}
try (final Tx tx = app.tx()) {
testEntity.setProperty(key, arr5);
tx.success();
}
try (final Tx tx = app.tx()) {