'L{ListOf.toBox} raises C{TypeError} when passed a value of L{None}
for the argument.'

def test_requiredArgumentWithNoneValueRaisesTypeError(self):

    stringList = amp.ListOf(amp.Integer())
    self.assertRaises(TypeError, stringList.toBox, 'omitted', amp.AmpBox(), {'omitted': None}, None)
