public void Parse_ValidAddArgument()
        {
            var option = GitConfigOption.Parse(" section.name = 42 ", true);

            Assert.AreEqual(option.Name, "section.name");
            Assert.AreEqual(option.Value, "42");
            Assert.IsTrue(option.Add);
        }
 public void Parse_InvalidArgument_NoName_ThrowsException()
 {
     var option = GitConfigOption.Parse(" =   blah");
 }
 public void Parse_InvalidArgument_NoEquals_ThrowsException()
 {
     var option = GitConfigOption.Parse("section.name ");
 }
 public void Parse_InvalidArgument_EmptyString_ThrowsException()
 {
     var option = GitConfigOption.Parse("");
 }