コード例 #1
0
        public void TestDpCreate()
        {
            IDataPortal <SingleOverload> dataPortal = _testDIContext.CreateDataPortal <SingleOverload>();

            SingleOverload test = SingleOverload.NewObject(dataPortal);

            Assert.AreEqual("Created0", TestResults.GetResult("SingleOverload"));
        }
コード例 #2
0
        public void TestDpCreate()
        {
            SingleOverload test = SingleOverload.NewObject();

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