use of com.linkedin.restli.examples.greetings.client.CustomTypes2FluentClient in project rest.li by linkedin.
the class TestParseqBasedFluentClientApi method testTypeRef_keyTypeRef.
// ----- Test TypeRef cases ------
@Test
public void testTypeRef_keyTypeRef() throws Exception {
CustomTypes2 customTypes2FluentClient = new CustomTypes2FluentClient(_parSeqRestliClient, _parSeqUnitTestHelper.getEngine());
Assert.assertEquals(customTypes2FluentClient.get(new CustomLong(1L)).toCompletableFuture().get(5000, TimeUnit.MILLISECONDS).getId().longValue(), 1L);
}
Aggregations