public void CmdUpload_TrueWithMoreThan2Args() { CmdUpload _upload = new CmdUpload(); string[] args = { "string1", "string2", "string3" }; var result = _upload.Validate(args); Assert.True(result, "Upload should return true with more than 2 arguments"); }
public void CmdUpload_FalseWithNoArguments() { CmdUpload _upload = new CmdUpload(); string[] args = {}; var result = _upload.Validate(args); Assert.False(result, "Upload should return false with no arguments"); }