public ActivityInjectorTest() { this.extension = new Mock<IActivityInjectorExtension>(); this.anotherExtension = new Mock<IActivityInjectorExtension>(); this.injectOnKernelExtension = new Mock<IInjectOnKernelExtension>(); this.activityResolver = new Mock<IActivityResolver>(); this.rootActivity = new Sequence(); this.childActivity = new TestActivityWithDependencyAndAttribute(); this.testee = new ActivityInjector(this.activityResolver.Object, new List<IActivityInjectorExtension> { this.extension.Object, this.injectOnKernelExtension.Object, this.anotherExtension.Object }); }
public ActivityInjectorTest() { this.extension = new Mock <IActivityInjectorExtension>(); this.anotherExtension = new Mock <IActivityInjectorExtension>(); this.injectOnKernelExtension = new Mock <IInjectOnKernelExtension>(); this.activityResolver = new Mock <IActivityResolver>(); this.rootActivity = new Sequence(); this.childActivity = new TestActivityWithDependencyAndAttribute(); this.testee = new ActivityInjector(this.activityResolver.Object, new List <IActivityInjectorExtension> { this.extension.Object, this.injectOnKernelExtension.Object, this.anotherExtension.Object }); }