#NEWLINE# def test_cleanReactorRemovesSelectables( self ) : #NEWLINE# #INDENT# '\n        The Janitor will remove selectables during reactor cleanup.\n        ' #NEWLINE# reactor = StubReactor ( [ ] ) #NEWLINE# jan = _Janitor ( None , None , reactor = reactor ) #NEWLINE# jan . _cleanReactor ( ) #NEWLINE# self . assertEquals ( reactor . removeAllCalled , 1 )