'L{ListOf.toBox} extracts the list of objects from the C{objects}
dictionary passed to it, using the C{name} key also passed to it,
serializes each of the elements in that list using the L{Argument}
instance previously passed to its initializer, combines the serialized
results, and inserts the result into the C{strings} dictionary using
the same C{name} key.'

def test_toBox(self):

    stringList = amp.ListOf(self.elementType)
    strings = amp.AmpBox()
    for key in self.objects:
        stringList.toBox(key.encode('ascii'), strings, self.objects.copy(), None)
    self.assertEqual(strings, self.strings)
