@Test
public void testCreateCollectionAuth() throws Exception
{

    // Need current Community ADD permissions in order to create a Collection
    new NonStrictExpectations(authorizeService.getClass())
    {{
        // Allow current Community ADD perms
        authorizeService.authorizeAction((Context) any, (Community) any,
                Constants.ADD); result = null;
    }};
    Collection result = collectionService.create(context, c);
    assertThat("testCreateCollectionAuth 0", result, notNullValue());
    assertThat("testCreateCollectionAuth 1", c.getCollections(), notNullValue());
    assertThat("testCreateCollectionAuth 2", c.getCollections().get(0), equalTo(result));
}