EJBMethodPermission permission = new EJBMethodPermission("foo", null, null, null);   permission = new EJBMethodPermission("foo", "", "", null); permission = new EJBMethodPermission("foo", "cat", "", null);   permission = new EJBMethodPermission("foo", "", "ServiceEndpoint", null); permission = new EJBMethodPermission("foo", "cat", "ServiceEndpoint", null);   permission = new EJBMethodPermission("foo", "", "", new String[]{}); permission = new EJBMethodPermission("foo", "cat", "", new String[]{}); permission = new EJBMethodPermission("foo", "", "Home", new String[]{}); permission = new EJBMethodPermission("foo", "cat", "Home", new String[] {}); permission = new EJBMethodPermission("foo", "", "", new String[] { "a", "b", "c", "d" }); permission = new EJBMethodPermission("foo", "cat", "", new String[] { "a", "b", "c", "d" }); permission = new EJBMethodPermission("foo", "", "Home", new String[] { "a", "b", "c", "d" }); permission = new EJBMethodPermission("foo", "cat", "Home", new String[] { "a", "b", "c", "d" });    permission = new EJBMethodPermission("foo", "cat", "Home", new String[] { "a", "b", "c", "d" }); permission = new EJBMethodPermission("foo", "cat", "LocalHome", new String[] { "a", "b", "c", "d" }); permission = new EJBMethodPermission("foo", "cat", "Remote", new String[] { "a", "b", "c", "d" }); permission = new EJBMethodPermission("foo", "cat", "Local", new String[] { "a", "b", "c", "d" }); permission = new EJBMethodPermission("foo", "cat", "ServiceEndpoint", new String[] { "a", "b", "c", "d" });  assertEquals(permission.getName(), "foo"); assertEquals(permission.getActions(), "cat,ServiceEndpoint,a,b,c,d");    try { permission = new EJBMethodPermission("foo", "cat", "Interface", new String[] { "a", "b", "c", "d" }); fail("Bad method interface"); } catch(IllegalArgumentException iae) { }
    public void testConstructorStringStringStringStringArray() {    }