I am writing integration testing on a contributed action on claim object. The below is the sample code for the method
public virtual RelatedPerson SplitPayment(ICanHaveSplit claim, ICustomer secondPayee, IEnumerable<object> components, [DefaultValue(50)]int splitRatio)
This contributed action is on Claim object. I have a choice method for 2nd parameter, the method is like below.
public IList<ICustomer> Choices1SplitPayment(ICanHaveSplit claim)
In my integration testing code, I have this line of code
var secondPayees = splitPaymentAction.Parameters.GetChoices();
When this line is executed, it will jump into the choice method Choices1SplitPayment(ICanHaveSplit claim) I've just mentioned. But the parameter claim is null,
Should NOF not set claim object automatically?