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