public void FileExistsS3_Test2() { AppFileService target = (AppFileService)AppFileEN.GetService(""); string key = "systemtest/randomfilename123123123.jpg"; bool expected = false; bool actual = target.FileExistsS3(key); Assert.AreEqual(expected, actual, "file " + key + "should not exists on Amazon S3 bucket."); }
public void FileExistsS3_Test() { AppFileService target = (AppFileService)AppFileEN.GetService(""); string key = "systemtest/testwebprivatedownload.jpg"; bool expected = true; bool actual = target.FileExistsS3(key); Assert.AreEqual(expected, actual, "file " + key + "should exist on Amazon S3 bucket."); }