stub a response object