public void Get_ListarTodosOsSinistros_RetornaTodosOsSinistros() { //Arrange var controller = new SinistrosController(new SinistroTestImp()); //Act var result = controller.Get(); var okResult = result as OkObjectResult; //Assert Assert.NotNull(okResult); Assert.True(okResult is OkObjectResult); Assert.Equal(StatusCodes.Status200OK, okResult.StatusCode); }