public void Given_Valid_Arguments_When_Download_Invoked_Then_true_Asserted() { client.SignUp("marut", "password"); client.SignIn("marut", "password"); Assert.IsTrue(client.Download("https://github.com/phani-rajbn/PhilipsJune2019Dotnet.git", "master")); client.DeleteUser("marut", "password"); }
public void Given_Not_Signed_In_When_Download_Invoked_Then_false_Asserted() { client.SignUp("marut", "password"); client.SignIn("marut", "password"); StaticCodeAnalysisServiceClient client2 = new StaticCodeAnalysisServiceClient(); Assert.IsFalse(client2.Download("https://github.com/phani-rajbn/PhilipsJune2019Dotnet.git", "master")); client.DeleteUser("marut", "password"); }