예제 #1
0
        public void ShouldReturnOkResponseToGetAllRequest()
        {
            ((IBreakable)taskRepository).Broken = false;
            ((INumOfRowsGetSetAble)taskRepository).NumOfRowsAffectedMock = 1;

            var result = controller.AllTaskRequest();

            Assert.IsInstanceOf <OkObjectResult>(result);
        }