diff --git a/opensrp-core/src/test/java/org/smartregister/service/UserServiceTest.java b/opensrp-core/src/test/java/org/smartregister/service/UserServiceTest.java index 9e50519b5..e3e14b397 100644 --- a/opensrp-core/src/test/java/org/smartregister/service/UserServiceTest.java +++ b/opensrp-core/src/test/java/org/smartregister/service/UserServiceTest.java @@ -372,5 +372,11 @@ public void testIsUserInPioneerGroupShouldReturnFalseForOthers() throws Exceptio assertFalse(userService.isUserInPioneerGroup("john")); } - + @Test + public void saveProviderBaseEntityIdOnSharedPref() { + String providerBaseEntityId = "00ab-88dc-ea11-8471-ad90"; + String providerName = "provider"; + userService.saveUserId(providerName, providerBaseEntityId); + verify(userService).saveUserId(providerName, providerBaseEntityId); + } } \ No newline at end of file