Reputation: 255
I am writing a test for which having a Jenkins instance . so I need to mock the Jenkins class and set the instance to Jenkins. What is the method to set the instance?
Import jenkins.model.Jenkins
Upvotes: 0
Views: 214