Unit Test Case for Private Methods and Properties using FakeItEasy -


this question has answer here:

how test private methods , properties using fakeiteasy frame work

fakeiteasy has no knowledge of production class's private methods , properties, , cannot used test them directly.

as @samholder points out, such practice bad idea, private methods implementation details.


Comments

Popular posts from this blog

angularjs - ADAL JS Angular- WebAPI add a new role claim to the token -

php - CakePHP HttpSockets send array of paramms -

node.js - Using Node without global install -