Beispiel #1
0
        public void InitializeAwarenessWhenTargetIsDatapoolFactoryAwareShouldSetTargetDatapoolFactory()
        {
            var target         = new DatapoolFactoryAwareGrinderElement();
            var processContext = CreateFrozenProcessContext();

            processContext.InitializeAwareness(target);
            Assert.That(target.DatapoolFactory, Is.SameAs(processContext.DatapoolFactory));
        }
 public void InitializeAwarenessWhenTargetIsDatapoolFactoryAwareShouldSetTargetDatapoolFactory()
 {
     var target = new DatapoolFactoryAwareGrinderElement();
     var processContext = CreateFrozenProcessContext();
     processContext.InitializeAwareness(target);
     Assert.That(target.DatapoolFactory, Is.SameAs(processContext.DatapoolFactory));
 }