Search in sources :

Example 1 with AliasOfAliasOfOptional

use of com.palantir.dialogue.example.AliasOfAliasOfOptional in project dialogue by palantir.

the class IntegrationTest method alias_of_alias_of_optional.

@Test
public void alias_of_alias_of_optional() {
    set204Response();
    AliasOfAliasOfOptional myAlias = blocking.getMyAlias2();
    Optional<String> maybeString = myAlias.get().get();
    assertThat(maybeString).isNotPresent();
}
Also used : AliasOfAliasOfOptional(com.palantir.dialogue.example.AliasOfAliasOfOptional) Test(org.junit.jupiter.api.Test)

Aggregations

AliasOfAliasOfOptional (com.palantir.dialogue.example.AliasOfAliasOfOptional)1 Test (org.junit.jupiter.api.Test)1