I have created my own SummaryCalculators but want to be able to unit test them. Problem is that SummaryResult and DataRecord classes used the in the signature of the Aggregate method have private constructors. I can't simple make them null as I use the DataRecord in the SummaryCalculator, are there any test utils that can help create some instances?
Hello,
I am just checking if you got this worked out or you still require any assistance or clarification on the matter.
Thank you for your post. I have been looking into it and I can suggest you create a your own Record class which inherits the Infragistics Record and add a public constructor, which you can use in your tests. Please let me know if this helps you or you have further questions on this matter.
Looking forward for your reply.