mock registered? method