Question: mstest how to test private methods?
Answer: The constructor of PrivateObjectClass takes the type as the parameter, so here you'll need to pass type of the SUT Salary class and then on the object of PrivateObjectClass call the invoke method to invoke the private method. And that's how we can unit test a private method!