@Test
public void shouldCreateService() {

    TestService service = thrift.create(TestService.class, new Thrift.SimpleTProtocolFactory() {
        @Override
        public TProtocol get() {
            return new TBinaryProtocol(new TMemoryInputTransport(new byte[]{}));
        }
    });
    assertThat(service).isNotNull();
}