def METHOD_NAME(self, src_dir, mock_func_factory):
    func = mock_func_factory(nominatim.clicmd.special_phrases.SPImporter, 'import_phrases')
    testdata = src_dir / 'test' / 'testdb'
    csv_path = str((testdata / 'full_en_phrases_test.csv').resolve())
    self.call_nominatim('special-phrases', '--import-from-csv', csv_path)
    assert func.called == 1