Add test case for newly added method on DeviceManagementProviderService

revert-dabc3590
Pahansith 5 years ago
parent d0466fb79a
commit 48c89b06b9

@ -20,6 +20,7 @@ package org.wso2.carbon.mdm.services.android.mocks;
import org.wso2.carbon.device.mgt.common.*;
import org.wso2.carbon.device.mgt.common.configuration.mgt.ConfigurationManagementException;
import org.wso2.carbon.device.mgt.common.configuration.mgt.DeviceConfiguration;
import org.wso2.carbon.device.mgt.common.configuration.mgt.PlatformConfiguration;
import org.wso2.carbon.device.mgt.common.license.mgt.License;
import org.wso2.carbon.device.mgt.common.operation.mgt.Activity;
@ -617,4 +618,11 @@ public class DeviceManagementProviderServiceMock implements DeviceManagementProv
public boolean updateEnrollment(String owner, List<String> deviceIdentifiers) {
return false;
}
@Override
public DeviceConfiguration getDevicesConfiguration(Map<String, String> map)
throws DeviceManagementException, DeviceNotFoundException, InvalidArgumentException,
UnauthorizedDeviceAccessException {
return null;
}
}

@ -20,6 +20,7 @@ package org.wso2.carbon.mdm.services.android.mocks;
import org.wso2.carbon.device.mgt.common.*;
import org.wso2.carbon.device.mgt.common.configuration.mgt.ConfigurationManagementException;
import org.wso2.carbon.device.mgt.common.configuration.mgt.DeviceConfiguration;
import org.wso2.carbon.device.mgt.common.configuration.mgt.PlatformConfiguration;
import org.wso2.carbon.device.mgt.common.license.mgt.License;
import org.wso2.carbon.device.mgt.common.operation.mgt.Activity;
@ -617,4 +618,11 @@ public class DeviceManagementProviderServiceMock implements DeviceManagementProv
public boolean updateEnrollment(String owner, List<String> deviceIdentifiers) {
return false;
}
@Override
public DeviceConfiguration getDevicesConfiguration(Map<String, String> map)
throws DeviceManagementException, DeviceNotFoundException, InvalidArgumentException,
UnauthorizedDeviceAccessException {
return null;
}
}

Loading…
Cancel
Save