Code from Alura TDD course in Java