I\'d like to test my DB class using psycopg2, but I met the problem - I have no idea how to test close() method. I\'ve tried some ideas and that\'s the last one below and it