Ejemplo n.º 1
0
        public void InitializeAwarenessWhenTargetIsDatapoolManagerAwareShouldSetTargetDatapoolManager()
        {
            var target         = new DatapoolManagerAwareGrinderElement();
            var processContext = CreateFrozenProcessContext();

            processContext.InitializeAwareness(target);
            Assert.That(target.DatapoolManager, Is.SameAs(processContext.DatapoolManager));
        }
 public void InitializeAwarenessWhenTargetIsDatapoolManagerAwareShouldSetTargetDatapoolManager()
 {
     var target = new DatapoolManagerAwareGrinderElement();
     var processContext = CreateFrozenProcessContext();
     processContext.InitializeAwareness(target);
     Assert.That(target.DatapoolManager, Is.SameAs(processContext.DatapoolManager));
 }