@Test
public void returnsTraitHeader() {

    HttpApiKeyAuthConverter converter = new HttpApiKeyAuthConverter();
    HttpApiKeyAuthTrait trait = HttpApiKeyAuthTrait.builder()
            .name("x-api-key")
            .in(HttpApiKeyAuthTrait.Location.HEADER)
            .build();
    assertThat(converter.getAuthRequestHeaders(null, trait), containsInAnyOrder("x-api-key"));
}