Book - Next Generation Java Testing: TestNG and Advanced Concepts
There is a great book about testing in java using TestNG
This book covers many aspects of writing tests for java applications.
Very recommend to read it.
Unfortunately there is not ebook/pdf, just paperback and kindle edition from Amazon or from safaribooksonline.com