Testing private methods
Hey there, I have the following code:
I want to unit test this code using NUnit, When creating a Setup and initializing the class these 2 methods are in, and trying to write a test for the
If you have a solution for this or adivce, I am curious to know!
I want to unit test this code using NUnit, When creating a Setup and initializing the class these 2 methods are in, and trying to write a test for the
IsInputValid I see that I cant test private methods. However, it feels needed to test that method. I worked around the issue doing the following, but this feel very ugly. If you have a solution for this or adivce, I am curious to know!
