@Test(expected = RestClientException.class)
public void discoverWhenProviderDoesNotSupportDiscoveryThenThrowRestClientException() throws Exception {

	this.server.enqueue(new MockResponse().setResponseCode(404));
	ProviderDiscoveryClient client = new ProviderDiscoveryClient(this.server.url("").toString());
	client.discover();
}