def METHOD_NAME(self):
    test_hash = {
        "errors": [{"attribute": "one", "code": 1, "message": "is too long"}],
        "nested": {
            "errors": [{"attribute": "two", "code": 2, "message": "contains invalid chars"}],
            "nested_again": {
                "errors": [
                    {"attribute": "three", "code": 3, "message": "super nested"},
                    {"attribute": "four", "code": 4, "message": "super nested 2"}
                ]
            }
        }
    }
    self.assertEqual(4, ValidationErrorCollection(test_hash).deep_size)