#NEWLINE# def test_process_event_invalid_can_nak( self ) : #NEWLINE# #INDENT# self . proto . factory . validators = [ Fails ( ) ] #NEWLINE# self . proto . factory . handlers = [ Succeeds ( ) ] #NEWLINE# d = self . proto . process_event ( DummyEvent ( ) ) #NEWLINE# d . addCallback ( self . _check_for_role , 'nak' ) #NEWLINE# d . addCallback ( self . _check_for_handler_runs , False ) #NEWLINE# return d