mirror of
https://repository.entgra.net/community/device-mgt-plugins.git
synced 2025-09-16 23:42:15 +00:00
Add test case for newly added method on DeviceManagementProviderService
This commit is contained in:
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…
Reference in New Issue
Block a user