public void WhenRepositoryIsNotInitialized_ShouldDisableAllControls(bool repoIsArmed)
        {
            A.CallTo(() => m_repository.IsArmed).Returns(repoIsArmed);

            m_controller.OnShow();

            A.CallTo(() => m_view.SetEnable(repoIsArmed)).MustHaveHappened();
        }
Пример #2
0
 public void OnShow()
 {
     m_view.SetEnable(m_repository.IsArmed);
 }