use of org.sonar.api.server.authentication.BaseIdentityProvider in project sonarqube by SonarSource.
the class UserSessionInitializerTest method newBasicIdentityProvider.
private static BaseIdentityProvider newBasicIdentityProvider(String name) {
BaseIdentityProvider mock = mock(BaseIdentityProvider.class);
when(mock.getName()).thenReturn(name);
return mock;
}
use of org.sonar.api.server.authentication.BaseIdentityProvider in project sonarqube by SonarSource.
the class AuthenticationEventSourceTest method newBasicIdentityProvider.
private static BaseIdentityProvider newBasicIdentityProvider(String name) {
BaseIdentityProvider mock = mock(BaseIdentityProvider.class);
when(mock.getName()).thenReturn(name);
return mock;
}
Aggregations