### Question:
IncludeNoNodes extends IncludeNoEntities<Node> implements NodeInclusionPolicy { public static NodeInclusionPolicy getInstance() { return INSTANCE; } private  IncludeNoNodes(); static NodeInclusionPolicy getInstance();  }### Answer:
@Test public void shouldIncludeNoNodes() { try (Transaction tx = database.beginTx()) { for (Node node : database.getAllNodes()) { assertFalse(IncludeNoNodes.getInstance().include(node)); } tx.success(); } }
@Test public void shouldGetNoNodes() { try (Transaction tx = database.beginTx()) { assertEquals(0, IterableUtils.count(IncludeNoNodes.getInstance().getAll(database))); tx.success(); } }