Example #1
0
 protected override void Context()
 {
     _context         = A.Fake <IMoBiContext>();
     _buildingBlock   = A.Fake <IBuildingBlock>();
     _observerBuilder = new ContainerObserverBuilder();
     sut = new TagTask(_context);
 }
Example #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
     };
 }