Issue with Integration testing on contributed action

Aug 28, 2013 at 5:24 PM
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)
            return GetAllRelations(claim);
In my integration testing code, I have this line of code
            var secondPayees = splitPaymentAction.Parameters[1].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?
Aug 28, 2013 at 5:37 PM
That might just be a limitation on the XAT framework. I'm afraid that there are a number of patterns that are valid in domain code, but which it is currently not possible to test using XATs. I've added a note of this one here: for when we do some further work on the XAT framework.
Aug 29, 2013 at 8:21 AM
Thanks Richard