What is the best way to mock a private mehod? | Sololearn: Learn to code for FREE!
Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок
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 ответ
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