### Question:
DatabaseDriversPresenter implements
        DatabaseDriversView.Presenter { @Override public void registerDriver(final DatabaseDriverDTO driver) { driverManager.addDriverResource(new File(driver.getLocation()).toURI()); view.addToList(driver); } DatabaseDriversPresenter(final DatabaseDriversView view); @Override void registerDriver(final DatabaseDriverDTO driver); @Override void unregisterDriver(final DatabaseDriverDTO driver);  }### Answer:
@Test public void testRegisterDriver() { mockView.addToList(same(dto)); expectLastCall(); mockDriverManager.addDriverResource(eq(new File(LOCATION).toURI())); expectLastCall(); EasyMockUnitils.replay(); presenter.registerDriver(dto); }