public FakeDatabaseTest() { Dictionary <Type, List <AbstractDataModel> > _Data = new Dictionary <Type, List <AbstractDataModel> >(); FakeDatabase.FillData(_Data); _Database = new FakeDatabase(_Data); }
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 }); }