/**
* Test checkAll(Permission, Authority[])
*/
@Test
public final void testCheckAllOf() {
Permission write = SystemPermission.WRITE;
Permission publish = SystemPermission.PUBLISH;
Role editor = SystemRole.EDITOR;
Role publisher = SystemRole.PUBLISHER;
// Create the security context
SecurityContextImpl context = new SecurityContextImpl();