Esempio n. 1
0
//JAVA TO C# CONVERTER TODO TASK: Most Java annotations will not have direct .NET equivalent attributes:
//ORIGINAL LINE: @Test public void shouldLogHelpfulStartupMessages()
        public virtual void ShouldLogHelpfulStartupMessages()
        {
            CommunityBootstrapper        boot          = new CommunityBootstrapper();
            IDictionary <string, string> propertyPairs = PropertyPairs;

            CommunityBootstrapper.start(TestDir.directory(), (new File("nonexistent-file.conf")), propertyPairs);
            URI uri = boot.Server.baseUri();

            boot.Stop();

            IList <string> captured = SuppressOutput.OutputVoice.lines();

            assertThat(captured, ContainsAtLeastTheseLines(Warn("Config file \\[nonexistent-file.conf\\] does not exist."), Info(NEO4J_IS_STARTING_MESSAGE), Info("Starting..."), Info("Started."), Info("Remote interface available at " + uri.ToString()), Info("Stopping..."), Info("Stopped.")));
        }