public void ExecuteTest() { var command = new GetAllLumberCategories(); command.Execute(); Assert.IsNotNull(command.Result); }
public IList <LumberCategory> GetAllLumberCategories() { var command = new GetAllLumberCategories(); command.Execute(); return(command.Result); }
private void LoadLumberCategories() { lock (_lumberCategoryLock) { var command = new GetAllLumberCategories(); command.Execute(); _lumberCategories = command.Result; } }
public void ExecuteByJoinTest() { XmlConfigurator.Configure(); var command = new GetAllLumberCategories(); command.Execute(); var actual = command.Result; Assert.IsNotNull(actual); }