Pregunta de entrevista de Thoughtworks

How would you test a DB connection from your application.