@Test
public void test_updateEntityByName_successful() throws Exception {

	String name ="name"; 
	OIDCEntityRequest oidcEntityRequest = new OIDCEntityRequest();
	oidcEntityRequest.setDisabled(false);
	Map<String, String> metadata = new HashMap<String, String>();
	metadata.put("organization", "t-vault");
	oidcEntityRequest.setMetadata(metadata);
	oidcEntityRequest.setPolicies(null);
	oidcEntityRequest.setName(name);
	when(oidcAuthService.updateEntityByName(token, oidcEntityRequest)).thenReturn(new ResponseEntity<>(HttpStatus.OK));
	assertEquals(HttpStatus.OK,
			oidcAuthController.updateEntityByName(httpServletRequest, token,name,oidcEntityRequest).getStatusCode());
}