.setProperty("text", "hello", VISIBILITY_A) .setProperty("age", 25, VISIBILITY_A) .setProperty("birthDate", new DateOnly(1989, 1, 5), VISIBILITY_A) .setProperty("lastAccessed", createDate(2014, 2, 24, 13, 0, 5), VISIBILITY_A) .save(AUTHORIZATIONS_A_AND_B); .setProperty("text", "world", VISIBILITY_A) .setProperty("age", 30, VISIBILITY_A) .setProperty("birthDate", new DateOnly(1984, 1, 5), VISIBILITY_A) .setProperty("lastAccessed", createDate(2014, 2, 25, 13, 0, 5), VISIBILITY_A) .save(AUTHORIZATIONS_A_AND_B); .has("lastAccessed", Compare.EQUAL, new DateOnly(2014, 2, 24)) .vertices(); assertEquals(1, count(vertices));
.setProperty("text", "hello", VISIBILITY_A) .setProperty("age", 25, VISIBILITY_A) .setProperty("birthDate", new DateOnly(1989, 1, 5), VISIBILITY_A) .setProperty("lastAccessed", createDate(2014, 2, 24, 13, 0, 5), VISIBILITY_A) .save(AUTHORIZATIONS_A_AND_B); .setProperty("text", "world", VISIBILITY_A) .setProperty("age", 30, VISIBILITY_A) .setProperty("birthDate", new DateOnly(1984, 1, 5), VISIBILITY_A) .setProperty("lastAccessed", createDate(2014, 2, 25, 13, 0, 5), VISIBILITY_A) .save(AUTHORIZATIONS_A_AND_B); .has("lastAccessed", Compare.EQUAL, new DateOnly(2014, 2, 24)) .vertices(); assertEquals(1, count(vertices));