Beispiel #1
0
        public void Initialize()
        {
            this.manager = new Mock <IPatternManager>();
            this.store   = new Mock <IProductState>();
            this.current = Mock.Of <IInstanceBase>();
            this.manager.Setup(x => x.Store).Returns(this.store.Object);

            this.publisher = new OnElementInstantiatedEvent(this.manager.Object, this.current);
        }
        public void Initialize()
        {
            this.manager = new Mock<IPatternManager>();
            this.store = new Mock<IProductState>();
            this.current = Mock.Of<IInstanceBase>();
            this.manager.Setup(x => x.Store).Returns(this.store.Object);

            this.publisher = new OnElementInstantiatedEvent(this.manager.Object, this.current);
        }