I am creating unit test cases in .net core app and trying to mock one of the okta api which will return the groups for specific user. For ex:-
await _okta.Users.ListUserGroups(id).ToListAsync();
^ Can someone please help me to write test case through moq?