I'm new to both JUnit and for EasyMock. I need to inject few of the classes into my JUnit test.
private static TheManager theManager;
public static void setUpBeforeClass() throws Exception {
theManager = EasyMock.createMock(TheManagerImpl.class);
theManager.init();
}
will this instantiate an object of "TheManagerImpl"? As I figured it is not calling the code inside implementation. How can I ask EasyMock to do it for me?