Esempio n. 1
0
        public void SetUp()
        {
            db = new Mock<IMasterDataBase>();
            provider = new TestProvider();
            kernel = new Kernel(db.Object);
            kernel.RegisterDataProvider(provider);

            now = DateTime.Now;
            objectData = new TestBO { MyProperty = "new" };
            testXref = new TestXref { SourceKey = "123", ObjectData = objectData, LastUpdate = now };
        }