Exemplo n.º 1
0
        public void NormalizeFileNameTest(string fileName, string expected)
        {
            var module   = new GitModule(@"c:\working\dir");
            var commands = new GitUICommands(module);

            commands.GetTestAccessor().NormalizeFileName(fileName).Should().Be(expected);
        }
 public void RunCommandBasedOnArgument_should_throw_on_null_args()
 {
     ((Action)(() => _commands.GetTestAccessor().RunCommandBasedOnArgument(null)))
     .Should().Throw <NullReferenceException>();
 }