I have a class with a static method and a wrapper method and I would like to test the getName method
The test case I wrote was
As you can see the code coverage for getName is not 100%. So my question is how can I get a 100% code coverage.
Also earlier I was not getting a code coverage at all , so I followed this link http://www.notonlyanecmplace.com/make-eclemma-test-coverage-work-with-powermock/
Any help regarding this will be highly appreciated.


Aucun commentaire:
Enregistrer un commentaire