Jump to content

How to test Interface Classes


Recommended Posts

Posted

I am trying to learn how to develop a simple plugin. During this process i use the IHttpClient and the login class, after that i created a unit test but i need to be able to initialize the httpclient how can i do this?

Posted

You don't create your own.  Those are dependencies that are passed into the constructor of your server entry point.

 

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...