def METHOD_NAME(self):
    """Test the ``CalcJobImporterFactory``."""
    plugin = factories.CalcJobImporterFactory('importer')
    assert plugin is CalcJobImporter
    with pytest.raises(InvalidEntryPointTypeError):
        factories.CalcJobImporterFactory('invalid')