Exemplo n.º 1
0
            public void It_will_print_help_for_direction()
            {
                Shell.Run();

                fakeLogger.Should_contain_entry("You have to specify direction:");
                fakeLogger.Should_contain_entry("\tElevator.exe -up, for going up");
                fakeLogger.Last_entry_should_equals("\tElevator.exe -down, for going down (not supported yet)");
            }
Exemplo n.º 2
0
 public void It_will_print_help_if_no_LevelDataStorage_class_is_found_in_named_assembly()
 {
     Shell.Run("-up", "-assembly:Tests.Empty.dll");
     fakeLogger.Last_entry_should_equals("Could not find a class in assembly 'Tests.Empty.dll' that implements the ILevelDataStorage interface.");
 }