### Question:
WildflyDriverProvider implements DriverProvider { @Override public void undeploy(final DriverDeploymentInfo deploymentInfo) throws Exception { driverMgmtClient.undeploy(deploymentInfo.getDeploymentId()); managedDrivers.remove(deploymentInfo.getDeploymentId()); } WildflyDriverProvider(); @Inject  WildflyDriverProvider(MavenArtifactResolver artifactResolver); DriverDeploymentInfo deploy(final DriverDef driverDef); @Override DriverDeploymentInfo resync(DriverDef driverDef,
                                       DriverDeploymentInfo deploymentInfo); @Override void undeploy(final DriverDeploymentInfo deploymentInfo); @Override DriverDeploymentInfo getDeploymentInfo(final String uuid); List< DriverDef > getDeployments(); List< DriverDeploymentInfo > getDeploymentsInfo(); @Override void loadConfig(Properties properties); @Override void hasStarted(); void setDriverMgmtClient(WildflyDriverManagementClient driverMgmtClient);  }### Answer:
@Test public void testUnDeployDriver() throws Exception { super.testUnDeployDriver(); verify(managementClient, times(1)).undeploy(DRIVER1_DEPLOYMENT_ID); }