Mocks in Junit Test

I want to create some mocks in the junit test to prevent students from using a particular library in their submissions. As the project is in java I was recommended the mockito library. How can I upload the library to be used in JUnit Reference Test Class. 

I tried to find online guides and user manuals but I had no success so any help will be greatly appreciated. Thanks!




mockito for junit testing

Did you try adding the mockito jar file under

Supplemental Classes for Assignment:



I haven't done this, but I think that's how I would proceed.