public void delete_call_obter() { //Arrange var controller = new LocacaoController(service.Object); var locacao = new Locacao() { Id = 1, CpfCliente = "08595979979", DataDeCriacao = DateTime.Now, }; //Act var result = controller.Delete(locacao); //Assert Assert.AreEqual(result.GetType(), typeof(OkResult)); }