//JAVA TO C# CONVERTER TODO TASK: Most Java annotations will not have direct .NET equivalent attributes: //ORIGINAL LINE: @Test public void shouldStartStopNeoServerWithoutAnyConfigFiles() throws Throwable //JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in C#: public virtual void ShouldStartStopNeoServerWithoutAnyConfigFiles() { // When int resultCode = ServerBootstrapper.Start(Bootstrapper, WithConnectorsOnRandomPortsConfig("--home-dir", TempDir.newFolder("home-dir").AbsolutePath, "-c", ConfigOption(data_directory, TempDir.Root.AbsolutePath), "-c", ConfigOption(logs_directory, TempDir.Root.AbsolutePath), "-c", "dbms.backup.enabled=false")); // Then assertEquals(ServerBootstrapper.OK, resultCode); assertEventually("Server was not started", Bootstrapper.isRunning, @is(true), 1, TimeUnit.MINUTES); }
//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in C#: //ORIGINAL LINE: private java.nio.file.Path temporaryDirectory() throws java.io.IOException private Path TemporaryDirectory() { return(TemporaryFolder.newFolder("port-repository").toPath()); }