What is the best way to mock a private mehod? | Sololearn: Learn to code for FREE!
¡Nuevo curso! ¡Todo programador debería aprender IA Generativa!
Prueba una lección gratuita
0

What is the best way to mock a private mehod?

mocking or testing for unit test

7th May 2017, 7:06 AM
manas dash
manas dash - avatar
1 Respuesta
0
use public method to call the Pvt and test public or make the method protected and call it from the derived unit test class
7th May 2017, 7:16 AM
manas dash
manas dash - avatar