A simple example of TDD in Java: Factorial
An example of Chapter TDD of the book
Test-Driven Development, Build Automation, Continuous Integration (with Java, Eclipse and friends) by Lorenzo Bettini.
See https://github.com/LorenzoBettini/tdd-buildautomation-ci-book-examples for the list of all the examples.