def METHOD_NAME(self):
    pool = ConnectionPool([(0, {})])
    pool.connections = []
    self.assertEqual(0, pool.get_connection())
    self.assertEqual([], pool.connections)
    self.assertTrue(pool.dead.empty())