public void CanAddModel() { Model model = new Model() { ModelName = "Dart", MakeId = 3, DateAdded = new DateTime(2012, 02, 14), UserId = allUsers[0].Id }; var repo = new ModelRepository(); repo.AddModel(model); // Now check in the DB if the record was added }