Пример #1
0
        public void ExecuteTest()
        {
            var command = new GetAllLumberCategories();

            command.Execute();
            Assert.IsNotNull(command.Result);
        }
Пример #2
0
        public IList <LumberCategory> GetAllLumberCategories()
        {
            var command = new GetAllLumberCategories();

            command.Execute();
            return(command.Result);
        }
Пример #3
0
 private void LoadLumberCategories()
 {
     lock (_lumberCategoryLock)
     {
         var command = new GetAllLumberCategories();
         command.Execute();
         _lumberCategories = command.Result;
     }
 }
Пример #4
0
        public void ExecuteByJoinTest()
        {
            XmlConfigurator.Configure();
            var command = new GetAllLumberCategories();

            command.Execute();
            var actual = command.Result;

            Assert.IsNotNull(actual);
        }