public void ParseArguments_NoOptionsTest() { var args = new string[] { }; Assert.Empty(MyApplication.ParseArguments(args)); }
public void ParseArguments_IgroreInvalidOptionsTest() { var args = new string[] { "--foo", "/" }; Assert.Empty(MyApplication.ParseArguments(args)); }
public void GetPreferredCulture_Test(string currentCulture, string expectedCulture) { var actual = MyApplication.GetPreferredCulture(new CultureInfo(currentCulture)); Assert.Equal(expectedCulture, actual.Name); }