pA = new WebResourcePermission("/:/a.jsp:/b.jsp:/c.jsp", "GET,POST,PUT,DELETE,HEAD,OPTIONS,TRACE"); pB = new WebResourcePermission("/:/a.jsp:/c.jsp:/b.jsp", (String) null);  assertTrue(pA.implies(pB)); assertTrue(pB.implies(pA));
    public void testImpliesStringString() {        // The argument is an instanceof WebResourcePermission         Permission pA = new WebResourcePermission("/foo", "");        Permission pB = new WebUserDataPermission("/foo", "");                assertFalse(pA.implies(pB));        assertFalse(pB.implies(pA));            pA = new WebResourcePermission("/foo", "");        pB = new WebResourcePermission("/foo", "GET,POST");                assertTrue(pA.implies(pB));        assertFalse(pB.implies(pA));                pA = new WebResourcePermission("/foo/*:/foo/bar", "");        pB = new WebResourcePermission("/foo/bar", "");                assertFalse(pA.implies(pB));        assertFalse(pB.implies(pA));        pA = new WebResourcePermission("/foo/bar/*:/foo/bar/cat/dog", "");        pB = new WebResourcePermission("/foo/bar/*:/foo/bar/cat/*", "");                assertTrue(pA.implies(pB));        assertFalse(pB.implies(pA));    }