Пример #1
0
 protected override void Context()
 {
     _context         = A.Fake <IMoBiContext>();
     _buildingBlock   = A.Fake <IBuildingBlock>();
     _observerBuilder = new ContainerObserverBuilder();
     sut = new TagTask(_context);
 }
Пример #2
0
 protected override void Context()
 {
     _context         = A.Fake <IMoBiContext>();
     _buildingBlock   = A.Fake <IBuildingBlock>();
     _observerBuilder = new ContainerObserverBuilder();
     sut = new TagTask(_context);
     _commandParameters = new TagConditionCommandParameters <IObserverBuilder>
     {
         BuildingBlock = _buildingBlock,
         DescriptorCriteriaRetriever = x => x.ContainerCriteria,
         TaggedObject = _observerBuilder
     };
 }