Example #1
0
        public void Launching_The_App_With_A_File_Path_Should_Append_The_Path_To_The_Window_Title()
        {
            var screen     = new StubMainScreen();
            var controller = new MainScreenController(screen, new StubCommandLineArguments("Foo.nplant"));

            controller.Start();

            Assert.That(screen.Title, Is.EqualTo("NPlant UI - Foo.nplant"));
        }
Example #2
0
 public void SetMainScreenUI(MainScreenController.UIState newUIState)
 {
     mainScreenController.SetUIState(newUIState);
 }