#NEWLINE# def test_dir_jvmview_two( ) : #NEWLINE# #INDENT# with example_app_process ( ) : #NEWLINE# #INDENT# with gateway ( ) as g : #NEWLINE# #INDENT# view1 = g . new_jvm_view ( ) #NEWLINE# view2 = g . new_jvm_view ( ) #NEWLINE# helper_dir_jvmview ( view1 ) #NEWLINE# helper_dir_jvmview ( view2 ) #NEWLINE# java_import ( view2 , 'com.fourth.Class4' ) #NEWLINE# java_import ( view2 , 'com.fiftg.Class5' ) #NEWLINE# assert ( sorted ( dir ( view1 ) ) == [ UserHelpAutoCompletion . KEY , 'Class1' , 'Class2' , 'Class3' , 'Class4' ] ) #NEWLINE# assert ( sorted ( dir ( view2 ) ) == [ UserHelpAutoCompletion . KEY , 'Class1' , 'Class2' , 'Class3' , 'Class5' ] )