ScriptEngineActivationStrategy strategy = new ScriptEngineActivationStrategy();
FeatureState ageCheck = aScriptState(JAVASCRIPT, "user.getAttribute('age') >= 21");
SimpleFeatureUser child = aFeatureUser("john");
child.setAttribute("age", 12);
assertThat(strategy.isActive(ageCheck, child)).isFalse();
SimpleFeatureUser adult = aFeatureUser("peter");
adult.setAttribute("age", 25);
assertThat(strategy.isActive(ageCheck, adult)).isTrue();
}