public void TestXml() { var du = new DataUser(new XmlDataAccessStrategy("cd_catalog.xml")); var result = du.UseData(); Assert.AreEqual(result, 7); }
public void TestDb() { var du = new DataUser(new DbDataAccessStrategy()); var result = du.UseData(); Assert.AreEqual(result, 60); }