### Question:
SpelRelationshipPropertyInclusionPolicy extends SpelInclusionPolicy implements RelationshipPropertyInclusionPolicy { @Override public boolean include(String key, Relationship relationship) { return (Boolean) exp.getValue(new AttachedRelationshipProperty(key, new AttachedRelationship(relationship))); } SpelRelationshipPropertyInclusionPolicy(String expression); @Override boolean include(String key, Relationship relationship);  }### Answer:
@Test public void shouldIncludeCorrectProps() { RelationshipPropertyInclusionPolicy policy1 = new SpelRelationshipPropertyInclusionPolicy("key != 'since'"); RelationshipPropertyInclusionPolicy policy2 = new SpelRelationshipPropertyInclusionPolicy("relationship.isType('WORKS_FOR')"); try (Transaction tx = database.beginTx()) { assertFalse(policy1.include("since", vojtaWorksFor())); assertFalse(policy1.include("since", michalWorksFor())); assertTrue(policy1.include("until", michalWorksFor())); assertTrue(policy1.include("until", vojtaWorksFor())); assertTrue(policy2.include("since", michalWorksFor())); assertFalse(policy2.include("since", michalLivesIn())); assertTrue(policy2.include("since", vojtaWorksFor())); assertFalse(policy2.include("since", vojtaLivesIn())); tx.success(); } }