@Test(expected=AuthorizeException.class)
public void testAddSubcommunityNoAuth() throws Exception
{

    new NonStrictExpectations(authorizeService.getClass())
    {{
        // Disallow current Community ADD perms
        authorizeService.authorizeAction((Context) any, (Community) any,
                Constants.ADD); result = new AuthorizeException();
        // Allow *parent* Community ADD perms
        authorizeService.authorizeActionBoolean((Context) any, (Community) any,
                Constants.ADD); result = true;
    }};
    Community result = communityService.create(null, context);
    communityService.addSubcommunity(context, c, result);
    fail("Exception expected");
}