@SuppressWarnings("unchecked")
@Test(dependsOnMethods = {"deploy"} , description = "Testing deviceType undeploy method by un-deploying Android " +

        "device type")
public void unDeploy() throws DeploymentException, IllegalAccessException {
    deviceTypePluginDeployer.undeploy(deploymentFileData.getAbsolutePath());
    Map<String, ServiceRegistration> tempServiceRegistration = (Map<String, ServiceRegistration>)
            deviceTypeServiceRegistrations.get(deviceTypePluginDeployer);
    Assert.assertNull(tempServiceRegistration.get(deploymentFileData.getAbsolutePath()));
    Map<String, DeviceTypeConfigIdentifier> tempDeviceTypeConfig = (Map<String, DeviceTypeConfigIdentifier>)
            deviceTypeConfigurationDataMap.get(deviceTypePluginDeployer);
    Assert.assertNull(tempDeviceTypeConfig.get(deploymentFileData.getAbsolutePath()));
}