function test_fail_msg() { $reason = 'no reason, really'; $msg = new Auth_OpenID_AX_StoreResponse(false, $reason); $this->assertFalse($msg->succeeded()); $this->assertEquals($reason, $msg->error_message); $this->assertEquals(array('mode' => 'store_response_failure', 'error' => $reason), $msg->getExtensionArgs()); }