|
|
@ -40,6 +40,7 @@ import org.wso2.carbon.mdm.services.android.utils.TestUtils;
|
|
|
|
import java.util.Date;
|
|
|
|
import java.util.Date;
|
|
|
|
import java.util.HashMap;
|
|
|
|
import java.util.HashMap;
|
|
|
|
import java.util.List;
|
|
|
|
import java.util.List;
|
|
|
|
|
|
|
|
import java.util.Map;
|
|
|
|
|
|
|
|
|
|
|
|
public class DeviceManagementProviderServiceMock implements DeviceManagementProviderService {
|
|
|
|
public class DeviceManagementProviderServiceMock implements DeviceManagementProviderService {
|
|
|
|
@Override
|
|
|
|
@Override
|
|
|
@ -141,6 +142,11 @@ public class DeviceManagementProviderServiceMock implements DeviceManagementProv
|
|
|
|
return null;
|
|
|
|
return null;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Override
|
|
|
|
|
|
|
|
public List<Device> getDevicesBasedOnProperties(Map map) throws DeviceManagementException {
|
|
|
|
|
|
|
|
return null;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
@Override
|
|
|
|
@Override
|
|
|
|
public Device getDevice(String s, Date date, boolean b) throws DeviceManagementException {
|
|
|
|
public Device getDevice(String s, Date date, boolean b) throws DeviceManagementException {
|
|
|
|
if (TestUtils.getDeviceId().equals(s)) {
|
|
|
|
if (TestUtils.getDeviceId().equals(s)) {
|
|
|
|