### Question:
IncludeAllNodes extends BaseNodeInclusionPolicy { public static NodeInclusionPolicy getInstance() { return INSTANCE; } private  IncludeAllNodes(); static NodeInclusionPolicy getInstance(); @Override boolean include(Node object);  }### Answer:
@Test public void shouldGetAllNodes() { try (Transaction tx = database.beginTx()) { assertEquals(4, IterableUtils.count(IncludeAllNodes.getInstance().getAll(database))); tx.success(); } }