@Test public void defaultInitialisation() { FF4JMBean sampleBean = new FF4JMBean(); sampleBean.setFf4j(ff4j); Assert.assertNotNull(sampleBean); }
public void setFf4j(FF4j ff4j) { this.ff4j = ff4j; }
FF4JMBean { public void setFf4j(FF4j ff4j) { this.ff4j = ff4j; } }
FF4JMBean { public void setFf4j(FF4j ff4j) { this.ff4j = ff4j; }  }
FF4JMBean { public void setFf4j(FF4j ff4j) { this.ff4j = ff4j; }  @ManagedAttribute(description = "Returns states of every features of the store") Map<String, Boolean> getFeaturesStatus(); @ManagedOperation(description = "Enable feature from its identifier") @ManagedOperationParameters({@ManagedOperationParameter(name = "featureId", description = "Identifier of feature to enable")}) void enableFeature(String featureId); @ManagedOperation(description = "Disable feature from its identifier") @ManagedOperationParameters({@ManagedOperationParameter(name = "featureId", description = "Identifier of feature to disable")}) void disableFeature(String featureId); @ManagedOperation(description = "Returns feature authentication roles") @ManagedOperationParameters({@ManagedOperationParameter(name = "featureId", description = "Identifier of feature to get Roles")}) Set<String> getPermissions(String featureId); @ManagedOperation(description = "Add an authentication role to feature") @ManagedOperationParameters({@ManagedOperationParameter(name = "authentication Role", description = "role to grant on feature"), @ManagedOperationParameter(name = "featureId", description = "target feature id")}) void grantRoleOnFeature(String authRole, String featureId); @ManagedOperation(description = "Remove an authentication role from feature") @ManagedOperationParameters({@ManagedOperationParameter(name = "authRole", description = "role to remove on feature"), @ManagedOperationParameter(name = "featureId", description = "target feature id")}) void removeAuthRoleFromFeature(String authRole, String featureId); FF4j getFf4j(); void setFf4j(FF4j ff4j); }
FF4JMBean { public void setFf4j(FF4j ff4j) { this.ff4j = ff4j; }  @ManagedAttribute(description = "Returns states of every features of the store") Map<String, Boolean> getFeaturesStatus(); @ManagedOperation(description = "Enable feature from its identifier") @ManagedOperationParameters({@ManagedOperationParameter(name = "featureId", description = "Identifier of feature to enable")}) void enableFeature(String featureId); @ManagedOperation(description = "Disable feature from its identifier") @ManagedOperationParameters({@ManagedOperationParameter(name = "featureId", description = "Identifier of feature to disable")}) void disableFeature(String featureId); @ManagedOperation(description = "Returns feature authentication roles") @ManagedOperationParameters({@ManagedOperationParameter(name = "featureId", description = "Identifier of feature to get Roles")}) Set<String> getPermissions(String featureId); @ManagedOperation(description = "Add an authentication role to feature") @ManagedOperationParameters({@ManagedOperationParameter(name = "authentication Role", description = "role to grant on feature"), @ManagedOperationParameter(name = "featureId", description = "target feature id")}) void grantRoleOnFeature(String authRole, String featureId); @ManagedOperation(description = "Remove an authentication role from feature") @ManagedOperationParameters({@ManagedOperationParameter(name = "authRole", description = "role to remove on feature"), @ManagedOperationParameter(name = "featureId", description = "target feature id")}) void removeAuthRoleFromFeature(String authRole, String featureId); FF4j getFf4j(); void setFf4j(FF4j ff4j);  }