<s> from muntjac . test . server . component . abstract_listener_methods_test import AbstractListenerMethodsTest <EOL> from muntjac . ui . tree import Tree , ExpandEvent , IExpandListener , CollapseEvent , ICollapseListener <EOL> from muntjac . event . item_click_event import ItemClickEvent , IItemClickListener <EOL> class TreeListeners ( AbstractListenerMethodsTest ) : <EOL> def testExpandListenerAddGetRemove ( self ) : <EOL> self . _testListenerAddGetRemove ( Tree , ExpandEvent , IExpandListener ) <EOL> def testItemClickListenerAddGetRemove ( self ) : <EOL> self . _testListenerAddGetRemove ( Tree , ItemClickEvent , IItemClickListener ) <EOL> def testCollapseListenerAddGetRemove ( self ) : <EOL> self . _testListenerAddGetRemove ( Tree , CollapseEvent , ICollapseListener ) </s>
