'Sanity check that optional AmpList arguments are processed normally.'

def test_optionalAmpListPresent(self):

    (c, s, p) = connectedServerAndClient(ServerClass=SimpleSymmetricCommandProtocol, ClientClass=SimpleSymmetricCommandProtocol)
    L = []
    c.callRemote(DontRejectMe, magicWord=u'please', list=[{'name': u'foo'}]).addCallback(L.append)
    p.flush()
    response = L.pop().get('response')
    self.assertEqual(response, 'foo    accepted')
