@Test
 public void delegateCheckPermission_Permission_Object() {
   Permission permission = mock(Permission.class);
   Object context = new Object();
   managerWithOriginal.checkPermission(permission, context);
   verify(originalSecurityManager).checkPermission(permission, context);
 }
 @Test
 public void dontFailWithoutParentForCheckPermission_Permission_Object() {
   Permission permission = mock(Permission.class);
   Object context = new Object();
   managerWithoutOriginal.checkPermission(permission, context);
 }
 @Test
 public void dontFailWithoutParentForCheckPermission_Permission() {
   Permission permission = mock(Permission.class);
   managerWithoutOriginal.checkPermission(permission);
 }
 @Test
 public void delegateCheckPermission_Permission() {
   Permission permission = mock(Permission.class);
   managerWithOriginal.checkPermission(permission);
   verify(originalSecurityManager).checkPermission(permission);
 }