@Test public void testGetEventManager() throws Exception { GameEventManager theEventManager = mock(GameEventManager.class); GameResourceLoader theResourceLoader = mock(GameResourceLoader.class); LUAScriptEngineFactory theScriptEngineFactory = mock(LUAScriptEngineFactory.class); GameRuntime theRuntime = new GameRuntime(theEventManager, theResourceLoader, theScriptEngineFactory, new DefaultLogger()); assertSame(theEventManager, theRuntime.getEventManager()); }
public GameEventManager getEventManager() { return eventManager; }
GameRuntime { public GameEventManager getEventManager() { return eventManager; } }
GameRuntime { public GameEventManager getEventManager() { return eventManager; } GameRuntime(GameEventManager aEventManager, GameResourceLoader aResourceLoader,
            LUAScriptEngineFactory aScriptEngineFactory, Logger aLogger); }
GameRuntime { public GameEventManager getEventManager() { return eventManager; } GameRuntime(GameEventManager aEventManager, GameResourceLoader aResourceLoader,
            LUAScriptEngineFactory aScriptEngineFactory, Logger aLogger); Logger getLogger(); GameResourceCache getResourceCache(); GameEventManager getEventManager(); void addSystem(GameSystem aSystem); GameSystem[] getSystems(); IORegistry getIORegistry(); LUAScriptEngineFactory getScriptEngineFactory(); }
GameRuntime { public GameEventManager getEventManager() { return eventManager; } GameRuntime(GameEventManager aEventManager, GameResourceLoader aResourceLoader,
            LUAScriptEngineFactory aScriptEngineFactory, Logger aLogger); Logger getLogger(); GameResourceCache getResourceCache(); GameEventManager getEventManager(); void addSystem(GameSystem aSystem); GameSystem[] getSystems(); IORegistry getIORegistry(); LUAScriptEngineFactory getScriptEngineFactory();  }