def METHOD_NAME(self):
    for f in CONSTRUCTORS:
        self.assertRaises(
            TypeError,
            json.dump,
            f(DeadDuck()),
            StringIO(),
            namedtuple_as_object=True
        )
        sio = StringIO()
        json.dump(f(DeadDict()), sio, namedtuple_as_object=True)
        self.assertEqual(
            json.dumps(f({})),
            sio.getvalue())
        self.assertRaises(
            TypeError,
            json.dump,
            f(Value),
            StringIO(),
            namedtuple_as_object=True
        )