Demonstrating Test-Driven Development and Evolutionary Design in the long run
Download as MP4
Episode Archive
I think doReturn would work to do the stubbing you want: doReturn(OneTestDriver.class).when(driverFinder).findTestClassDriver(DummyTest.class);
I think doReturn would work to do the stubbing you want:
ReplyDeletedoReturn(OneTestDriver.class).when(driverFinder).findTestClassDriver(DummyTest.class);