コード例 #1
0
 @Test
 public void dontFailWithoutParentForCheckAwtEventQueueAccess() {
   managerWithoutOriginal.checkAwtEventQueueAccess();
 }
コード例 #2
0
 @Test
 public void delegateCheckAwtEventQueueAccess() {
   managerWithOriginal.checkAwtEventQueueAccess();
   verify(originalSecurityManager).checkAwtEventQueueAccess();
 }