Pregunta de entrevista de Tata Consultancy Services

Write a code to reverse a string in Java using TDD (Test Driven Development).