public void TestLastConnFail() { setFailConn(); ACAD food = new CADType("GebatDataConnectionString"); food.Last(); }
public void TestLast() { ACAD food = new CADType("GebatDataConnectionString"); DataRow actual = food.Last(); DataRow expected = food.GetVoidRow; expected ["Id"] = 4; expected ["Name"] = "Paquetes"; Assert.AreEqual(expected["Id"], actual["Id"]); Assert.AreEqual(expected["Name"], actual["Name"]); }