public void ParseDictionaryOption_WithKeyOnlyArgument_ReturnsFailedResult(TemporaryDirectoryFixture tempDirectory)
{
// arrange
DictionaryOption dictOption = DictionaryOption.Create("dictionary", "kvp");
string key = "key1";
string[] args =
{
"--kvp", key
};
// act
var result = dictOption.Parse(args);
// assert
Assert.False(result.Success);
Assert.Contains("Error", result.ErrorMessage);
Assert.Contains("format", result.ErrorMessage);
}