def METHOD_NAME(self, mock_func_factory, place_table):
    func_mock = mock_func_factory(nominatim.tools.postcodes, 'update_postcodes')
    idx_mock = mock_func_factory(nominatim.indexer.indexer.Indexer, 'index_postcodes')
    assert self.call_nominatim('refresh', '--postcodes') == 0
    assert func_mock.called == 1
    assert idx_mock.called == 1