@Test public void testGetSecurityManager() throws Exception { SecurityManager securityManager = createMock(SecurityManager.class); GuiceEnvironment underTest = new GuiceEnvironment(securityManager); assertSame(securityManager, underTest.getSecurityManager()); }
public SecurityManager getSecurityManager() { return securityManager; }
GuiceEnvironment implements Environment { public SecurityManager getSecurityManager() { return securityManager; } }
GuiceEnvironment implements Environment { public SecurityManager getSecurityManager() { return securityManager; } @Inject  GuiceEnvironment(SecurityManager securityManager); }
GuiceEnvironment implements Environment { public SecurityManager getSecurityManager() { return securityManager; } @Inject  GuiceEnvironment(SecurityManager securityManager); SecurityManager getSecurityManager(); }
GuiceEnvironment implements Environment { public SecurityManager getSecurityManager() { return securityManager; } @Inject  GuiceEnvironment(SecurityManager securityManager); SecurityManager getSecurityManager();  }