@Override
	public RegisteredClient getClientConfiguration(ServerConfiguration issuer) {

		RegisteredClient client = staticClientService.getClientConfiguration(issuer);
		if (client != null) {
			return client;
		} else {
			return dynamicClientService.getClientConfiguration(issuer);
		}

	}
@Test
	public void getClientConfiguration_useDynamic() {

		Mockito.when(mockStaticService.getClientConfiguration(mockServerConfig)).thenReturn(null);
		Mockito.when(mockDynamicService.getClientConfiguration(mockServerConfig)).thenReturn(mockClient);

		RegisteredClient result = hybridService.getClientConfiguration(mockServerConfig);

		Mockito.verify(mockStaticService).getClientConfiguration(mockServerConfig);
		Mockito.verify(mockDynamicService).getClientConfiguration(mockServerConfig);
		assertEquals(mockClient, result);
	}