public async Task DownloadFileReturnsFilename() { var dataApiClient = new DataApiClient(ApiSetup.ApiConfiguration); dataApiClient.Login(); var actual = await dataApiClient.Download("DataBlob", "DCF9C0E1FD926E2C6B5E4E9E18001B3F00EEB30B"); Assert.That(actual.Filename, Is.EqualTo("excelReferenceCache.json")); var data = ToByteArray(actual.Stream); Assert.That(data, Is.Not.Empty); }