@Override
  public void start() {
    File dbHome = new File(getRequiredSetting(PATH_DATA.getKey()));
    if (!dbHome.exists()) {
      dbHome.mkdirs();
    }

    startServer(dbHome);
  }
@Test
  public void start_supports_in_memory_H2_JDBC_URL() throws IOException {
    int port = NetworkUtilsImpl.INSTANCE.getNextLoopbackAvailablePort();
    settings
      .setProperty(PATH_DATA.getKey(), temporaryFolder.newFolder().getAbsolutePath())
      .setProperty(JDBC_URL.getKey(), "jdbc:h2:mem:sonar")
      .setProperty(JDBC_EMBEDDED_PORT.getKey(), "" + port)
      .setProperty(JDBC_USERNAME.getKey(), "foo")
      .setProperty(JDBC_PASSWORD.getKey(), "bar");

    underTest.start();

    checkDbIsUp(port, "foo", "bar");
  }