@Test void accountIsNotEntitled() { when(entitlementService.automaticUsersyncPollerEnabled(anyString(), anyString())).thenReturn(false); assertFalse(underTest.isAccountEntitled(UserSyncTestUtils.ACCOUNT_ID)); }
public boolean isAccountEntitled(String accountId) { return entitlementService.automaticUsersyncPollerEnabled(INTERNAL_ACTOR_CRN, accountId); }
UserSyncPollerEntitlementChecker { public boolean isAccountEntitled(String accountId) { return entitlementService.automaticUsersyncPollerEnabled(INTERNAL_ACTOR_CRN, accountId); } }
UserSyncPollerEntitlementChecker { public boolean isAccountEntitled(String accountId) { return entitlementService.automaticUsersyncPollerEnabled(INTERNAL_ACTOR_CRN, accountId); }  }
UserSyncPollerEntitlementChecker { public boolean isAccountEntitled(String accountId) { return entitlementService.automaticUsersyncPollerEnabled(INTERNAL_ACTOR_CRN, accountId); }  boolean isAccountEntitled(String accountId); }
UserSyncPollerEntitlementChecker { public boolean isAccountEntitled(String accountId) { return entitlementService.automaticUsersyncPollerEnabled(INTERNAL_ACTOR_CRN, accountId); }  boolean isAccountEntitled(String accountId);  }