Add editor mock utility methods.