'The response to a CTCP VERSION query includes the version number and
environment information, as specified by L{IRCClient.versionNum} and
L{IRCClient.versionEnv}.'

def test_fullVERSION(self):

    self.client.versionName = 'FrobozzIRC'
    self.client.versionNum = '1.2g'
    self.client.versionEnv = 'ZorkOS'
    self.client.ctcpQuery_VERSION('nick!guy@over.there', '#theChan', None)
    versionReply = ('NOTICE    nick    :%(X)cVERSION    %(vname)s:%(vnum)s:%(venv)s%(X)c%(EOL)s' % {'X': irc.X_DELIM, 'EOL': (irc.CR + irc.LF), 'vname': self.client.versionName, 'vnum': self.client.versionNum, 'venv': self.client.versionEnv})
    reply = self.file.getvalue()
    self.assertEqualBufferValue(reply, versionReply)
