def METHOD_NAME(self, m, *args):
    """
    GIVEN:
        - No parser declared for a given mimetype
        - Parser declared for a different mimetype
    WHEN:
        - Attempt to get parser for the given mimetype
    THEN:
        - No parser class is returned
    """
    class DummyParser:
        pass
    m.return_value = (
        (
            None,
            {
                "weight": 0,
                "parser": DummyParser,
                "mime_types": {"application/pdf": ".pdf"},
            },
        ),
    )
    self.assertIsNone(get_parser_class_for_mime_type("image/tiff"))