Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
135
Unit Test for Summary Calculator
posted

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?

Parents
No Data
Reply
  • 138253
    Offline posted

    Hello,

     

    I am just checking if you got this worked out or you still require any assistance or clarification on the matter.

Children
No Data