public void ReturnsEmptyStringIfCommandLineWasNotSupplied() { string[] args = new string[] {}; var parser = new SettingsParser(); string path = parser.GetCalendarFile(args); path.Should().BeEmpty(); }
public void ReturnsFilePathForCommandLineWithSingleEntryWithoutPrefix() { string[] args = new[] { @"C:\file.csv" }; var parser = new SettingsParser(); string path = parser.GetCalendarFile(args); path.Should().Be(@"C:\file.csv"); }