예제 #1
0
 public void TestInitialize()
 {
     _tldc = new TestLocalDataContext();
     TestDataFiller.Fill(_tldc);
     _testDataService = new TestDataService(_tldc);
     _dataContext     = new DataContext(_testDataService);
 }
예제 #2
0
        public void TestInitialize()
        {
            IDepartment department = new TestDepartment();

            TestLocalDataContext _tldc = new TestLocalDataContext();

            TestDataFiller.Fill(_tldc);

            ITestDataService _testDataService = new TestDataService(_tldc);
            IDataContext     _dataContext     = new DataContext(_testDataService);

            _mainWindowViewModel = new MainWindowViewModel(_dataContext, department);
        }