Question d’entretien chez Thoughtworks

How would you test a DB connection from your application.