JFormRuleOptions::test

Method to test the value.