❔ ✅ Verifying the purpose of Moq usage
So, as you can see I use
It.IsAny<int>() to mimic a value that would be passed, since GetUserName() requres an integer passed as argument.However this value is not used in the actual mock, but rather the
the
42 that is passed here, which then calls GetUserName() inside of it.