#NEWLINE# def test_gen_java( self ) : #NEWLINE# #INDENT# args = [ 'gen-java' , 'src/path.pdef' , '--dst' , 'dst/path' , '--package' , 'java.package' ] #NEWLINE# cli . main ( self , self . compiler ) #NEWLINE# self . compiler . generate_java . assert_called_once_with ( 'src/path.pdef' , 'dst/path' , jpackage_name = 'java.package' )