Unit Tests with multiple users

Hi All,

I'm trying to write unit tests for approvals functionality that needs controls of two or more users. Simple scenario would be one user send request, and other user approve that request. The problem that I'm facing is that I can't switch from one user to another in unit test and some standard approval procedure use USERID as a parameter.

Do you have any tips how to simulate work of two users in tests?

Sign In or Register to comment.