#NEWLINE# def test_add_to_menu_controller_false( self ) : #NEWLINE# #INDENT# window = Window ( ) #NEWLINE# window . open ( ) #NEWLINE# action_item = ActionItem ( action = self . action ) #NEWLINE# menu_bar_manager = MenuBarManager ( ) #NEWLINE# menu_manager = MenuManager ( name = 'Test' ) #NEWLINE# menu_bar = menu_bar_manager . create_menu_bar ( window . control ) #NEWLINE# menu = menu_manager . create_menu ( menu_bar ) #NEWLINE# controller = FalseActionController ( ) #NEWLINE# action_item . add_to_menu ( window . control , menu , controller ) #NEWLINE# window . close ( )