public void WhenShown_GameIsPaused()
        {
            InGameSettingsPM systemUnderTest = CreateSystem();

            systemUnderTest.Show();

            MockGameManager.Received().SetState(GameStates.Paused);
        }
        public void WhenHidden_GameIsResumed()
        {
            InGameSettingsPM systemUnderTest = CreateSystem();

            systemUnderTest.Hide();

            MockGameManager.Received().SetState(GameStates.Playing);
        }
        private InGameSettingsPM CreateSystem()
        {
            InGameSettingsPM systemUnderTest = new InGameSettingsPM(MockGameManager);

            return(systemUnderTest);
        }