For testing Java code