private static void AddItem() { var newItem = TodoHelper.GetTodo(); if (newItem != null) { Repo.Add(newItem); } }
public void InsertTest() { ClearDb(); _repo.Add(new Todo()); Assert.Single(_repo.GetAll()); }