//JAVA TO C# CONVERTER TODO TASK: Most Java annotations will not have direct .NET equivalent attributes:
//ORIGINAL LINE: @Test public void startShouldNotifyListener()
        public virtual void StartShouldNotifyListener()
        {
            BoltConnection connection = NewConnection();

            connection.Start();

            verify(_connectionListener).created(connection);
        }
//JAVA TO C# CONVERTER TODO TASK: Most Java annotations will not have direct .NET equivalent attributes:
//ORIGINAL LINE: @Test public void stopShouldNotifyListenerOnTheNextBatch()
        public virtual void StopShouldNotifyListenerOnTheNextBatch()
        {
            BoltConnection connection = NewConnection();

            connection.Start();

            connection.Stop();
            connection.ProcessNextBatch();

            verify(_connectionListener).closed(connection);
        }