Pergunta de entrevista da empresa Thoughtworks

How would you test a DB connection from your application.