From 03352259be2900d720f3887731cf8c94b895e5e8 Mon Sep 17 00:00:00 2001 From: Saad Sahibjan Date: Thu, 18 Apr 2019 20:22:01 +0530 Subject: [PATCH] Implement updateEnrollment in DeviceManagementProviderServiceMock --- .../android/mocks/DeviceManagementProviderServiceMock.java | 5 +++++ .../android/mocks/DeviceManagementProviderServiceMock.java | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/components/mobile-plugins/android-plugin/org.wso2.carbon.device.mgt.mobile.android.api/src/test/java/org/wso2/carbon/mdm/services/android/mocks/DeviceManagementProviderServiceMock.java b/components/mobile-plugins/android-plugin/org.wso2.carbon.device.mgt.mobile.android.api/src/test/java/org/wso2/carbon/mdm/services/android/mocks/DeviceManagementProviderServiceMock.java index cb13a0734a..38f2a774a7 100644 --- a/components/mobile-plugins/android-plugin/org.wso2.carbon.device.mgt.mobile.android.api/src/test/java/org/wso2/carbon/mdm/services/android/mocks/DeviceManagementProviderServiceMock.java +++ b/components/mobile-plugins/android-plugin/org.wso2.carbon.device.mgt.mobile.android.api/src/test/java/org/wso2/carbon/mdm/services/android/mocks/DeviceManagementProviderServiceMock.java @@ -583,4 +583,9 @@ public class DeviceManagementProviderServiceMock implements DeviceManagementProv throws DeviceManagementException { return false; } + + @Override + public boolean updateEnrollment(String owner, List deviceIdentifiers) { + return false; + } } diff --git a/components/mobile-plugins/android-plugin/org.wso2.carbon.device.mgt.mobile.android.v09.api/src/test/java/org/wso2/carbon/mdm/services/android/mocks/DeviceManagementProviderServiceMock.java b/components/mobile-plugins/android-plugin/org.wso2.carbon.device.mgt.mobile.android.v09.api/src/test/java/org/wso2/carbon/mdm/services/android/mocks/DeviceManagementProviderServiceMock.java index cb13a0734a..38f2a774a7 100644 --- a/components/mobile-plugins/android-plugin/org.wso2.carbon.device.mgt.mobile.android.v09.api/src/test/java/org/wso2/carbon/mdm/services/android/mocks/DeviceManagementProviderServiceMock.java +++ b/components/mobile-plugins/android-plugin/org.wso2.carbon.device.mgt.mobile.android.v09.api/src/test/java/org/wso2/carbon/mdm/services/android/mocks/DeviceManagementProviderServiceMock.java @@ -583,4 +583,9 @@ public class DeviceManagementProviderServiceMock implements DeviceManagementProv throws DeviceManagementException { return false; } + + @Override + public boolean updateEnrollment(String owner, List deviceIdentifiers) { + return false; + } }