public void AlreadyDeletedReturnsNotFoundObjectResult() { using (var context = new TodosContext(_options)) { var c = new TodosController(new TodosRepo(context)); var item = c.Delete(2); Assert.True(item is NotFoundObjectResult); } }