This question already has an answer here:
My java class has 2 private methods, method1 and method2. method1 invokes method2. How can I test method1 at the same time mocking method2 using any of the java testing frameworks?
Aucun commentaire:
Enregistrer un commentaire