### Question:
SpelRelationshipInclusionPolicy extends SpelInclusionPolicy implements RelationshipInclusionPolicy { @Override public Iterable<Relationship> getAll(GraphDatabaseService database) { return new FilteringIterable<>(database.getAllRelationships(), this::include); } SpelRelationshipInclusionPolicy(String expression); @Override boolean include(Relationship relationship); @Override boolean include(Relationship relationship, Node pointOfView); @Override Iterable<Relationship> getAll(GraphDatabaseService database);  }### Answer:
@Test public void shouldIncludeAllCorrectRels() { try (Transaction tx = database.beginTx()) { assertEquals(1, Iterables.count(policy6.getAll(database))); assertEquals(vojtaWorksFor(), policy6.getAll(database).iterator().next()); tx.success(); } }