public async void RemovingARequestWhichWasNeverAdded()
        {
            // Given
            const string ClientId = "tester";

            var configuration = new ConcurrentRequestLimiterConfiguration();
            var loggerMock    = new Mock <ILogger <InMemoryConcurrentRequestsManager> >();
            var manager       = new InMemoryConcurrentRequestsManager(configuration, loggerMock.Object);

            // When a request is removed
            var result = await manager.RemoveAsync(ClientId, Guid.NewGuid().ToString());

            // Then the manager should not remove anything
            result.Should().BeFalse();
        }
        public async void APreviouslyAddedRequestIsRemoved()
        {
            // Given
            const string ClientId  = "tester";
            const string RequestId = "123";

            var configuration = new ConcurrentRequestLimiterConfiguration();
            var loggerMock    = new Mock <ILogger <InMemoryConcurrentRequestsManager> >();
            var manager       = new InMemoryConcurrentRequestsManager(configuration, loggerMock.Object);

            await manager.AddAsync(ClientId, RequestId, DateTimeOffset.UtcNow.ToUnixTimeSeconds());

            // When a request is removed
            var result = await manager.RemoveAsync(ClientId, RequestId);

            // Then the manager should remove the request
            result.Should().BeTrue();
        }