assertNull(p.getActions());
assertEquals(p.getActions(), "");
    public void testGetActions() {        WebResourcePermission p = new WebResourcePermission("/foo", "");        assertNull(p.getActions());        p = new WebResourcePermission("/foo", "!GET,POST");        assertEquals(p.getActions(), "!GET,POST");        p = new WebResourcePermission("/foo", "!POST,GET");        assertEquals(p.getActions(), "!GET,POST");        p = new WebResourcePermission("/foo", "!POST,GET,GET,POST");        assertEquals(p.getActions(), "!GET,POST");        //extension methods follow regular methods        p = new WebResourcePermission("/foo", "FOO,BAR,POST,FOO,GET,GET,POST");        assertEquals("GET,POST,BAR,FOO", p.getActions());        p = new WebResourcePermission("/foo", "!FOO,BAR,POST,FOO,GET,GET,POST");        assertEquals("!GET,POST,BAR,FOO", p.getActions());    }