* Tests interpretation of an acl rule with object properties containing wildcards. Values containing
* hashes must be quoted otherwise they are interpreted as comments.
*/
public void testValidRuleWithWildcardProperties() throws Exception
{
final PlainConfiguration config = writeACLConfig("ACL ALLOW all CREATE EXCHANGE routingKey = \'news.#\'",
"ACL ALLOW all CREATE EXCHANGE routingKey = \'news.co.#\'",
"ACL ALLOW all CREATE EXCHANGE routingKey = *.co.medellin");
final RuleSet rs = config.getConfiguration();
assertEquals(3, rs.getRuleCount());
final Map<Integer, Rule> rules = rs.getAllRules();
assertEquals(3, rules.size());
final Rule rule1 = rules.get(0);