public void HandleRecursiveRequestReturnsCorrectResult()
 {
     // Arrange
     var sut = new NullRecursionHandler();
     // Act
     var dummyRequest = new object();
     var dummyRequests = Enumerable.Empty<object>();
     var actual = sut.HandleRecursiveRequest(dummyRequest, dummyRequests);
     // Assert
     Assert.Null(actual);
 }
Example #2
0
        public void HandleRecursiveRequestReturnsCorrectResult()
        {
            // Fixture setup
            var sut = new NullRecursionHandler();
            // Exercise system
            var dummyRequest  = new object();
            var dummyRequests = Enumerable.Empty <object>();
            var actual        = sut.HandleRecursiveRequest(dummyRequest, dummyRequests);

            // Verify outcome
            Assert.Null(actual);
            // Teardown
        }