예제 #1
0
        public FakeDatabaseTest()
        {
            Dictionary <Type, List <AbstractDataModel> > _Data = new Dictionary <Type, List <AbstractDataModel> >();

            FakeDatabase.FillData(_Data);
            _Database = new FakeDatabase(_Data);
        }
예제 #2
0
        public DataAccessTest()
        {
            Dictionary <Type, List <AbstractDataModel> > _Data = new Dictionary <Type, List <AbstractDataModel> >();

            FakeDatabase.FillData(_Data);
            var fakeDataBase = new FakeDatabase(_Data);

            _Database = new WrocerDataAccess(new List <IDataDirectAccess>()
            {
                fakeDataBase
            });
        }