From 4a6fa61450f250b4e3499afdf54a9e175acf0240 Mon Sep 17 00:00:00 2001 From: inoshperera Date: Mon, 22 Jun 2020 09:22:37 +0530 Subject: [PATCH] Add multiple location update related test --- .../android/mocks/DeviceInformationManagerServiceMock.java | 6 ++++++ 1 file changed, 6 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/DeviceInformationManagerServiceMock.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/DeviceInformationManagerServiceMock.java index de26e835c..5b222e022 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/DeviceInformationManagerServiceMock.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/DeviceInformationManagerServiceMock.java @@ -60,4 +60,10 @@ public class DeviceInformationManagerServiceMock implements DeviceInformationMan public int publishEvents(String s, String s1, String s2, String s3) throws DeviceDetailsMgtException { return 0; } + + @Override + public void addDeviceLocations(Device device, List deviceLocations) throws + DeviceDetailsMgtException{ + + } }