use of com.linkedin.restli.examples.greetings.client.CustomTypes3FluentClient in project rest.li by linkedin.
the class TestParseqBasedFluentClientApi method testAssociationFinderUsingCustomAssocKey.
@Test
public void testAssociationFinderUsingCustomAssocKey() throws Exception {
CustomTypes3 customTypesResource3 = new CustomTypes3FluentClient(_parSeqRestliClient, _parSeqUnitTestHelper.getEngine());
CollectionResponse<Greeting> greetings = customTypesResource3.findByDateOnly(new Date()).toCompletableFuture().get(5000, TimeUnit.MILLISECONDS);
Assert.assertTrue(greetings.getElements().size() > 0);
}
Aggregations