public void CardEnsurePropertiesWork() { // Object Initializer syntax Models.RecipeType recipeType = new Models.RecipeType { TypeName = "Veg", TypeId = 4, TypeType = 1 }; Assert.AreEqual("Veg", recipeType.TypeName); Assert.AreEqual(4, recipeType.TypeId); Assert.AreEqual(1, recipeType.TypeType); }
public void CardEnsureICanCreateInstance() { Models.RecipeType recipeType = new Models.RecipeType(); Assert.IsNotNull(recipeType); }