'Making a remote call on a L{amp.Command} subclass which
overrides the C{parseArguments} method should call that
C{parseArguments} method to get the arguments.'

def test_responderCallsParseArguments(self):

    protocol = NoNetworkProtocol()
    responder = protocol.locateResponder(MagicSchemaCommand.commandName)
    argument = object()
    response = responder(dict(weird=argument))
    response.addCallback((lambda ign: self.assertEqual(protocol.parseArgumentsArguments, ({'weird': argument}, protocol))))
    return response
