Ejemplo n.º 1
0
        public void Run_ShouldLoadLastIssue_AndShowInsertIssueDialog()
        {
            A.CallTo(() => m_lastIssue.Get()).Returns("1234");

            m_controller.Run();

            m_view.IssueText.Should().Be("1234");
            A.CallTo(() => m_view.ShowDialog()).MustHaveHappened();
        }
Ejemplo n.º 2
0
 public void Run()
 {
     m_issueSelected  = false;
     m_view.IssueText = m_lastIssue.Get();
     m_view.ShowDialog();
 }