@Test
public void testCreate() throws Exception
{

    new NonStrictExpectations(authorizeService.getClass())
    {{
        authorizeService.authorizeAction((Context) any, (Community) any,
                Constants.ADD); result = null;
    }};
    Collection created = collectionService.create(context, owningCommunity);
    assertThat("testCreate 0", created, notNullValue());
    assertThat("testCreate 1", created.getName(), equalTo(""));
}