public ActionOnExtensionWithInitializerExecutableTest() { this.executableContext = new Mock<IExecutableContext>(); this.context = new object(); this.testee = new ActionOnExtensionWithInitializerExecutable<object, ICustomExtension>( () => this.CountAccessToContext(), (x, i) => x.SomeMethod(i), (aware, ctx) => { this.interceptedBehaviorAware = aware; }); }
public ActionOnExtensionWithInitializerExecutableTest() { this.executableContext = A.Fake <IExecutableContext>(); this.context = new object(); this.testee = new ActionOnExtensionWithInitializerExecutable <object, ICustomExtension>( () => this.CountAccessToContext(), (x, i) => x.SomeMethod(i), (aware, ctx) => { this.interceptedBehaviorAware = aware; }); }