public void Test_01_Create_Continent_To_Delete() { var continent = E02_Continent.NewE02_Continent(); continent.Continent_Name = ContinentName; continent = continent.Save(); Assert.AreEqual(4, continent.Continent_ID); continent = E02_Continent.GetE02_Continent(4); Assert.AreEqual(ContinentName, continent.Continent_Name); }
public void Test_03_Create_Continent() { var continent = E02_Continent.NewE02_Continent(); continent.Continent_Name = ContinentName; continent.E03_Continent_SingleObject.Continent_Child_Name = ContinentName + " Child"; continent.E03_Continent_ASingleObject.Continent_Child_Name = ContinentName + " ReChild"; continent = continent.Save(); Assert.AreEqual(5, continent.Continent_ID); continent = E02_Continent.GetE02_Continent(5); Assert.AreEqual(ContinentName, continent.Continent_Name); Assert.AreEqual(ContinentName + " Child", continent.E03_Continent_SingleObject.Continent_Child_Name); Assert.AreEqual(ContinentName + " ReChild", continent.E03_Continent_ASingleObject.Continent_Child_Name); }