Creating okta mock server for unit testing

I am trying to create an Okta mock server for unit testing.

In the Okta source code, there is a function that can help with your mock unit testing:

Okta Testing Function

If this is not what you are looking for, then I think we will need to understand more about what you are trying to accomplish.