Esempio n. 1
0
//JAVA TO C# CONVERTER TODO TASK: Most Java annotations will not have direct .NET equivalent attributes:
//ORIGINAL LINE: @Test void shouldNotifyAboutClosedConnection()
        internal virtual void ShouldNotifyAboutClosedConnection()
        {
            JettyHttpConnection connection = mock(typeof(JettyHttpConnection));

            _listener.onClosed(connection);

            verify(_connectionTracker, never()).add(any());
            verify(_connectionTracker).remove(connection);
        }