public void CheckStatus_ReturnsOk()
        {
            BookController bookController = new BookController(mockService.Object);

            var result = bookController.CheckStatus();

            Assert.That(result, Is.InstanceOf <OkObjectResult>());
        }
예제 #2
0
        public void CheckStatus_ReturnsOk()
        {
            BookService    bookService    = new BookService(mapper, dbContext);
            BookController bookController = new BookController(bookService);

            var result = bookController.CheckStatus();

            Assert.That(result, Is.InstanceOf <OkObjectResult>());
        }