test gener.java