Exemplo n.º 1
0
        public void TestDpFetch()
        {
            IDataPortal <SingleOverload> dataPortal = _testDIContext.CreateDataPortal <SingleOverload>();

            SingleOverload test = SingleOverload.GetObject(5, dataPortal);

            Assert.AreEqual("Fetched", TestResults.GetResult("SingleOverload"));
        }
Exemplo n.º 2
0
        public void TestDpFetch()
        {
            SingleOverload test = SingleOverload.GetObject(5);

            Assert.AreEqual("Fetched", ApplicationContext.GlobalContext["SingleOverload"]);
        }