Use closure to get informations about test class and tested class in the generator.