@Test public void deletedNewLabelShouldNotInfluenceEquality() { // bug test try (Transaction tx = database.beginTx()) { database.createNode(DynamicLabel.label("Accident")); database.createNode(DynamicLabel.label("RealLabel")); tx.success(); } try (Transaction tx = database.beginTx()) { database.getNodeById(0).delete(); tx.success(); } String cypher = "CREATE (n:RealLabel)"; assertSameGraph(database, cypher); }
@Override public boolean include(Node node) { return !(node.hasLabel(DynamicLabel.label("ChangeSet"))); }
@Override public boolean include(Node node) { return node.hasLabel(DynamicLabel.label("Blue")); }