### Question:
SpelNodePropertyInclusionPolicy extends SpelInclusionPolicy implements NodePropertyInclusionPolicy { @Override public boolean include(String key, Node node) { return (Boolean) exp.getValue(new AttachedNodeProperty(key, new AttachedNode(node))); } SpelNodePropertyInclusionPolicy(String expression); @Override boolean include(String key, Node node);  }### Answer:
@Test public void shouldIncludeCorrectProps() { NodePropertyInclusionPolicy policy1 = new SpelNodePropertyInclusionPolicy("key != 'name'"); NodePropertyInclusionPolicy policy2 = new SpelNodePropertyInclusionPolicy("node.hasLabel('Employee') && key == 'name'"); try (Transaction tx = database.beginTx()) { assertFalse(policy1.include("name", michal())); assertFalse(policy1.include("name", vojta())); assertTrue(policy2.include("name", michal())); assertFalse(policy2.include("name", vojta())); assertFalse(policy2.include("name", graphaware())); tx.success(); } }