示例#1
0
        public void Start_Import_Of_GStandard_When_RefreshDatabase_Is_Called()
        {
            bool started = false;
            //var importService = GetImportServiceMock(x => started = true);
            //var dataService = GetDataServiceMock(null);
            Bootstrapper.ConfigureStructureMap();
            var wcfService = new WcfService();

            wcfService.RefreshDatabase();

            Assert.IsTrue(started);
        }
示例#2
0
        public void Start_Import_Of_GStandard_When_RefreshDatabase_Is_Called()
        {
            bool started = false;
            var importService = GetImportServiceMock(x => started = true);
            var dataService = GetDataServiceMock(null);

            var wcfService = new WcfService(dataService, importService);

            wcfService.RefreshDatabase();

            Assert.IsTrue(started);
        }