Searched refs:mFakeGameService (Results 1 – 1 of 1) sorted by relevance
157 private FakeGameService mFakeGameService; field in GameServiceProviderInstanceImplTest182 mFakeGameService = new FakeGameService(); in setUp()183 mFakeGameServiceConnector = new FakeServiceConnector<>(mFakeGameService); in setUp()248 assertThat(mFakeGameService.getState()).isEqualTo(GameServiceState.CONNECTED); in start_startsGameSession()259 assertThat(mFakeGameService.getState()).isEqualTo(GameServiceState.CONNECTED); in start_multipleTimes_startsGameSessionOnce()270 assertThat(mFakeGameService.getState()).isEqualTo(GameServiceState.DISCONNECTED); in stop_neverStarted_doesNothing()280 assertThat(mFakeGameService.getState()).isEqualTo(GameServiceState.DISCONNECTED); in startAndStop_startsAndStopsGameSession()281 assertThat(mFakeGameService.getConnectedCount()).isEqualTo(1); in startAndStop_startsAndStopsGameSession()295 assertThat(mFakeGameService.getState()).isEqualTo(GameServiceState.DISCONNECTED); in startAndStop_multipleTimes_startsAndStopsGameSessionMultipleTimes()296 assertThat(mFakeGameService.getConnectedCount()).isEqualTo(2); in startAndStop_multipleTimes_startsAndStopsGameSessionMultipleTimes()[all …]