@Test
public void testIntrapartWildcard() {

    ActiveMQWildcardPermission superset = new ActiveMQWildcardPermission("topic:ActiveMQ.Advisory.*:read");
    ActiveMQWildcardPermission subset = new ActiveMQWildcardPermission("topic:ActiveMQ.Advisory.Topic:read");
    assertTrue(superset.implies(subset));
    assertFalse(subset.implies(superset));
}