assertThat(client.getConfiguration().isRegistered(JacksonMessageBodyProvider.class)).isTrue();
}
@Test
public void usesTheGivenThreadPool() throws Exception {
final Client client = builder.using(executorService, objectMapper).build("test");
for (Object o : client.getConfiguration().getInstances()) {
if (o instanceof DropwizardExecutorProvider) {
final DropwizardExecutorProvider provider = (DropwizardExecutorProvider) o;
assertThat(provider.getRequestingExecutor()).isSameAs(executorService);
}
}