@Test
public void test_getSelfServiceGroupsFromAADById_failed() throws Exception {

	String userAADId = "abcdefg";
	String userName = "testuser";
	Response response = new Response();
	response.setHttpstatus(HttpStatus.OK);
	response.setSuccess(true);
	response.setResponse(null);
	when(httpUtils.getHttpClient()).thenReturn(httpClient);
	when(httpClient.execute(any())).thenReturn(httpResponse);
	when(httpResponse.getStatusLine()).thenReturn(statusLine);
	when(statusLine.getStatusCode()).thenReturn(400);
	ReflectionTestUtils.setField(oidcUtil, "ssoGetUserEndpoint", "testgroupurl");
	ReflectionTestUtils.setField(oidcUtil, "ssoGetUserGroups", "groupurlvalue");
	ReflectionTestUtils.setField(oidcUtil, "ssoGroupPattern", "r_selfservice_[a-z]{3}_admin");
	List<String> groups = oidcUtil.getSelfServiceGroupsFromAADById("testssotoken", userAADId, userName);
	assertEquals(0, groups.size());
}