@Test public void testGetFeatureState() { sessionFeaturesMap.put("featureName", new FeatureDescriptor() {{ setName("fetureName"); setState(FeatureState.DISABLED); }}); FeatureDescriptor featureDescriptor = reader.getFeatureDescriptor("featureName"); assertEquals(FeatureState.DISABLED, featureDescriptor.getState()); }
public FeatureDescriptor getFeatureDescriptor(final String name) { return FlipWebContext.getFeatureDescriptors().get(name); }
SessionPropertyReader extends AbstractPropertyReader { public FeatureDescriptor getFeatureDescriptor(final String name) { return FlipWebContext.getFeatureDescriptors().get(name); } }
SessionPropertyReader extends AbstractPropertyReader { public FeatureDescriptor getFeatureDescriptor(final String name) { return FlipWebContext.getFeatureDescriptors().get(name); }  }
SessionPropertyReader extends AbstractPropertyReader { public FeatureDescriptor getFeatureDescriptor(final String name) { return FlipWebContext.getFeatureDescriptors().get(name); }  FeatureDescriptor getFeatureDescriptor(final String name); }
SessionPropertyReader extends AbstractPropertyReader { public FeatureDescriptor getFeatureDescriptor(final String name) { return FlipWebContext.getFeatureDescriptors().get(name); }  FeatureDescriptor getFeatureDescriptor(final String name);  }