public void CheckStatus_ReturnsOk() { BookController bookController = new BookController(mockService.Object); var result = bookController.CheckStatus(); Assert.That(result, Is.InstanceOf <OkObjectResult>()); }
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>()); }