@Test
public void shouldReturnTransportClient() throws Exception {

  String[] hostNames = { "127.0.0.1" };
  Object o = factory.getClient(ElasticSearchClientFactory.TransportClient,
                               hostNames, "test", serializer, null);
  assertThat(o, instanceOf(ElasticSearchTransportClient.class));
}