public static Optional<PfxOptions> getPfxTrustStoreOptions(final Map<String, String> props) {
    final String location = getTrustStoreLocation(props);
    final String password = getTrustStorePassword(props);

    if (!Strings.isNullOrEmpty(location)) {
      return Optional.of(buildPfxOptions(location, password));
    }

    return Optional.empty();
  }
@Test
  public void shouldReturnEmptyTrustStorePfxOptionsIfLocationIsEmpty() {
    // When
    final Optional<PfxOptions> pfxOptions = VertxSslOptionsFactory.getPfxTrustStoreOptions(
        ImmutableMap.of()
    );

    // Then
    assertThat(pfxOptions, is(Optional.empty()));
  }