public void GetByKeyTest() { CountriesManager target = new CountriesManager(); //Country expected = null; // TODO: Initialize to an appropriate value Country actual; actual = target.GetByKey(TEST_CODE); Assert.IsTrue(actual.Code == TEST_CODE); }
public void UpdateTest() { CountriesManager target = new CountriesManager(); // TODO: Initialize to an appropriate value Country theObj = null; int actual; theObj = target.GetByKey(TEST_CODE); theObj.Iso3 = "TTT"; actual = target.Update(theObj); Assert.IsTrue(actual > 0); }