Test code for Java EE 6 webapps