@Test public void isNeverInCheckWithoutParent() { assertThat(managerWithoutOriginal.getInCheck(), is(false)); }
@Test public void delegateGetInCheck() { when(originalSecurityManager.getInCheck()).thenReturn(true); assertThat(managerWithOriginal.getInCheck(), is(true)); }