public async Task GetDoorbotsHistoryRecordingByIdTest()
        {
            var session = new RingCommunications(Username, Password);
            await session.Authenticate();

            var doorbotHistory = await session.GetDoorbotsHistory();

            Assert.IsTrue(doorbotHistory.Count > 0, "No doorbot history events were found");

            var tempFilePath = Path.GetTempFileName();

            await session.GetDoorbotHistoryRecordingAndCreateFile(doorbotHistory[0].Id, tempFilePath);

            File.Delete(tempFilePath);
        }
        public async Task GetDoorbotHistoryRecording_Verify()
        {
            // ARRANGE

            // Set the path to the acquired 'downlaoaded' file (no file is actually downloaded, thanks to MOQ :) )
            var tempFilePath = Path.GetTempFileName();

            // Mock the HttpWebRequest and HttpWebResponse (which is within the request)- AUTH
            var mockHttpWebRequestAuth = CreateMockHttpWebRequest(HttpStatusCode.NotModified, "A-OK", ExpectedAuthenticationResponseBytes);

            // Mock the HttpWebRequest and HttpWebResponse (which is within the request)- Devices
            var mockHttpWebRequestDoorbotDownloadFile = CreateMockHttpWebRequest(HttpStatusCode.NotModified, "A-OK", ExpectedDoorbotsDownloadFileResponseBytes);

            // ACT
            var comm = new RingCommunications(Username, Password)
            {
                AuthRequest        = mockHttpWebRequestAuth,
                DoorbotFileRequest = mockHttpWebRequestDoorbotDownloadFile
            };

            // Authenticate
            var actualSessionAuthObject = await comm.Authenticate();

            // Acquire a Doorbot file
            await comm.GetDoorbotHistoryRecordingAndCreateFile("1", tempFilePath);

            // ASSERT

            // Read-in the 'expected' download-file bytes
            var acquiredFileBytes = File.ReadAllBytes(tempFilePath);

            // Let's cleanup the temp file, regardless of pass-or-fail
            File.Delete(tempFilePath);

            CollectionAssert.AreEqual(ExpectedDoorbotsDownloadFileResponseBytes, acquiredFileBytes, "Expected file bytes are not matching with the acquired");
        }