Example #1
0
        public void ItReturnsTrue_WhenRequestFinished(string request)
        {
            var cache = new MoviesRequestsCache();

            cache.AddRequest(request);

            Assert.True(cache.FinishRequest(request));
        }
Example #2
0
        public void ItReturnsFalse_WhenNoRequestToFinish(string request)
        {
            var cache = new MoviesRequestsCache();

            Assert.False(cache.FinishRequest(request));
        }