Optional<String> getQueriesFile(final Map<String, String> properties) {
    if (queriesFile != null) {
      return Optional.of(queriesFile);
    }

    return Optional.ofNullable(properties.get(QUERIES_FILE_CONFIG));
  }
@Test
  public void shouldNotHaveQueriesFileIfNotInPropertiesOrCommandLine() {
    assertThat(serverOptions.getQueriesFile(emptyMap()), is(Optional.empty()));
  }