'Test BlockingConnection properties'

def test(self):

    connection = self._connect()
    self.assertTrue(connection.is_open)
    self.assertFalse(connection.is_closing)
    self.assertFalse(connection.is_closed)
    self.assertTrue(connection.basic_nack_supported)
    self.assertTrue(connection.consumer_cancel_notify_supported)
    self.assertTrue(connection.exchange_exchange_bindings_supported)
    self.assertTrue(connection.publisher_confirms_supported)
    connection.close()
    self.assertFalse(connection.is_open)
    self.assertFalse(connection.is_closing)
    self.assertTrue(connection.is_closed)
