def METHOD_NAME(self):
    # Test that our custom field requirement is honored.
    # The `title` field is not mandatory in the XML schema, however packages without
    # a title are rendered confusingly in chocolatey output, so enforce it.
    with self.assertRaises(NuspecValidationError):
        NuspecGenerator(
            id="test", title=None, version="4.4", authors="people", description=""
        )
    # Smoke test that the validation code provided by `generateDS` is working.
    # This test is just to help catch any upstream (NuGet or generateDS) bugs,
    # should they ever occur.
    with self.assertRaises(NuspecValidationError):
        NuspecGenerator(
            id=None, title="", version="4.4", authors="people", description=""
        )