'L{IRCClient.noticed} is called when a notice is received.'

def test_irc_NOTICE(self):

    msg = ('%(X)cextended%(X)cdata1%(X)cextended%(X)cdata2%(X)c%(EOL)s' % {'X': irc.X_DELIM, 'EOL': (irc.CR + irc.LF)})
    self.client.irc_NOTICE(self.user, [self.channel, msg])
    self.assertEqual(self.client.methods, [('noticed', (self.user, '#twisted', 'data1    data2'))])
