'Test that close_connection calls close on the connection.'

def test_close_connection(self):

    my_transport = Transport(self.mock_client)
    mock_connection = Mock()
    my_transport.close_connection(mock_connection)
    mock_connection.close.assert_called_once_with()
