public async Task GetFileDataAsyncCallsCorrectMethodsTest()
        {
            var mockHttpClient = new Mock<IRestClient>();

            var filesPersistenceClient = new FilesPersistenceClient(mockHttpClient.Object);

            await filesPersistenceClient.GetFileDataAsync<TestResponseClass>(Guid.NewGuid());
            mockHttpClient.Verify(m => m.GetItemAsync<TestResponseClass>(It.IsAny<string>()), Times.Once());
        }
        public async Task GetFileDataAsyncCallsCorrectMethodsTest()
        {
            var mockHttpClient = new Mock <IRestClient>();

            var filesPersistenceClient = new FilesPersistenceClient(mockHttpClient.Object);

            await filesPersistenceClient.GetFileDataAsync <TestResponseClass>(Guid.NewGuid());

            mockHttpClient.Verify(m => m.GetItemAsync <TestResponseClass>(It.IsAny <string>()), Times.Once());
        }
        public async Task GetFileDataAsyncReturnsCorrectObjectTest()
        {
            var responseClass = new TestResponseClass();
            var mockHttpClient = new Mock<IRestClient>();
            mockHttpClient.Setup(x => x.GetItemAsync<TestResponseClass>(It.IsAny<string>())).Returns(Task.FromResult(responseClass));
            
            var filesPersistenceClient = new FilesPersistenceClient(mockHttpClient.Object);
            var result = await filesPersistenceClient.GetFileDataAsync<TestResponseClass>(Guid.NewGuid());

            Assert.AreEqual(responseClass, result);
        }
        public async Task GetFileDataAsyncReturnsCorrectObjectTest()
        {
            var responseClass  = new TestResponseClass();
            var mockHttpClient = new Mock <IRestClient>();

            mockHttpClient.Setup(x => x.GetItemAsync <TestResponseClass>(It.IsAny <string>())).Returns(Task.FromResult(responseClass));

            var filesPersistenceClient = new FilesPersistenceClient(mockHttpClient.Object);
            var result = await filesPersistenceClient.GetFileDataAsync <TestResponseClass>(Guid.NewGuid());

            Assert.AreEqual(responseClass, result);
        }