@Override
  public boolean hasSameDbVendor() {
    Optional<String> registeredDbVendor = metadataIndex.getDbVendor();
    return registeredDbVendor.isPresent() && registeredDbVendor.get().equals(getDbVendor());
  }
@Test
  public void hasSameDbVendor_is_false_if_values_dont_match() {
    prepareDb("mssql");
    prepareEs("postgres");

    assertThat(underTest.hasSameDbVendor()).isFalse();
  }