posted 8 years ago
0
down vote
favorite
I have a constructor that takes a couple of arguments for eg. new Reporter(host,port). I want to verify that this constructor is called with the expected params. I get the configuration parameters from a Config object and then call the business method StartUp.startReporter(); and I expect that new Reporter(host,port) gets called with the parameters from the config object. Here is the code:
Thanks,<br />Salil Surendran