@kenakamu do you have unit test code for NUnit framework? I have exactly same logic to get GraphUser object.
I can Substitute for (IGraphServiceUsersCollectionRequestBuilder). But I am not able to Returns(the Microsoft User object) to collection request builder object.
@kenakamu do you have unit test code for NUnit framework? I have exactly same logic to get GraphUser object.
I can Substitute for (IGraphServiceUsersCollectionRequestBuilder). But I am not able to Returns(the Microsoft User object) to collection request builder object.
I haven't personally tried nunit but it should work quite similar way