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

    new NonStrictExpectations(authorizeService.getClass())
    {{
        // Disallow Item ADD perms
        authorizeService.authorizeAction((Context) any, (Item) any,
                Constants.ADD); result = new AuthorizeException();
    }};
    String name = "bundle";
    Bundle created = bundleService.create(context, it, name);
    created.setName(context, name);
    
    it.addBundle(created);
    fail("Exception expected");
}