protected override ConstructorArgument[] GetConstructorArguments(MethodInfo methodInfo, object[] arguments) { methodInfo.Should().Be(this.ExpectedMethodInfo); ((object)arguments).Should().BeSameAs(this.expectedArguments); return this.constructorArguments; }
protected override string GetName(MethodInfo methodInfo, object[] arguments) { methodInfo.Should().Be(this.ExpectedMethodInfo); ((object)arguments).Should().BeSameAs(this.expectedArguments); return this.name; }
protected override Type GetType(MethodInfo methodInfo, object[] arguments) { methodInfo.Should().Be(this.ExpectedMethodInfo); ((object)arguments).Should().BeSameAs(this.expectedArguments); return this.ReturnedType; }
protected override Func<Planning.Bindings.IBindingMetadata, bool> GetConstraint( MethodInfo methodInfo, object[] arguments) { methodInfo.Should().Be(this.ExpectedMethodInfo); ((object)arguments).Should().BeSameAs(this.expectedArguments); return this.constraint; }