@Test public void dontFailWithoutParentForCheckPackageDefinition() { managerWithoutOriginal.checkPackageDefinition("dummy package"); }
@Test public void delegateCheckPackageDefinition() { managerWithOriginal.checkPackageDefinition("arbitrary package"); verify(originalSecurityManager).checkPackageDefinition("arbitrary package"); }