public void GetNonExsitingFileMetadata() { string filepath = "/"; string filename = @"File"; string fullpath = filepath + filename; ApiResponse meta1 = GetFileInf.GetMeta(fullpath); Assert.IsFalse(meta1.IfSuccessful()); }
public void GetExsitingFileMetadata() { string filepath = "/"; string filename = @"WS_Dropbox-master.zip"; string fullpath = filepath + filename; ApiResponse meta1 = GetFileInf.GetMeta(fullpath); ApiResponse meta2 = GetFileInf.GetMeta(filepath, filename); Assert.IsTrue(meta1.ContentAsString.Equals(meta2.ContentAsString) && meta1.IfSuccessful()); }