def METHOD_NAME(run_in_tmpdir, model, estimator, origin):
    """Tests that the mesh has been moved based on tally results
    """
    mesh = model.tallies[0].filters[0].mesh
    model.tallies[0].estimator = estimator
    # move the center of the spherical mesh
    mesh.origin = origin
    sp_filename = model.run()
    with openmc.StatePoint(sp_filename) as sp:
        tally = sp.tallies[1]
        # we've translated half of the spherical mesh above the model,
        # so ensure that half of the bins are populated
        assert np.count_nonzero(tally.mean) == tally.mean.size / 2
        # check that the half of the mesh that is outside of the geometry
        # contains the zero values
        mean = tally.get_reshaped_data('mean', expand_dims=True)
        centroids = mesh.centroids
        for ijk in mesh.indices:
            i, j, k = np.array(ijk) - 1
            if model.geometry.find(centroids[:, i, j, k]):
                mean[i, j, k] == 0.0
            else:
                mean[i, j, k] != 0.0