Pergunta de entrevista da empresa T. Rowe Price

How can you structure your code to be easily testable?