Domanda di colloquio di Thoughtworks

How would you test a DB connection from your application.