source: class OidcAuthenticationServiceTest {
  
      private static final String OIDC_USERINFO_PATH;
      private static final String USERNAMCE_CLAIM;
      private static final String ACCESS_TOKEN;
      @Rule
      public WireMockRule wireMockRule;
      private Config configMock;
      private OidcConfiguration oidcConfigurationMock;
  
      @Test
      public void synchronizeTeamsShouldReturnUserWhenTeamsClaimIsNotAList() {
  
target:         when(configMock.getProperty(eq(Config.AlpineKey.OIDC_TEAMS_CLAIM)))
                  .thenReturn("teams");
  
          final OidcUserInfo userInfo = new OidcUserInfo();
          userInfo.setClaim("teams", "not-a-list");
  
          final OidcUser oidcUser = new OidcUser();
  
          final OidcAuthenticationService authService = new OidcAuthenticationService(configMock, oidcConfigurationMock, ACCESS_TOKEN);
  
          assertThat(authService.synchronizeTeams(null, oidcUser, userInfo)).isEqualTo(oidcUser);
      }
  
  }