def METHOD_NAME(self, cover_obj, cover_json):
    self.assertEqual(cover_obj.id, cover_json['id'])
    self.assertEqual(cover_obj.name, cover_json['name'])
    self.assertIn(cover_obj.get_mbox_url(), cover_json['mbox'])
    self.assertIn(cover_obj.get_absolute_url(), cover_json['web_url'])
    self.assertIn('comments', cover_json)
    # nested fields
    self.assertEqual(cover_obj.submitter.id, cover_json['submitter']['id'])
    if hasattr(cover_obj, 'series'):
        self.assertEqual(1, len(cover_json['series']))
        self.assertEqual(
            cover_obj.series.id, cover_json['series'][0]['id']
        )
    else:
        self.assertEqual([], cover_json['series'])