/**
  * @test
  */
 public function updateAction()
 {
     $name = 'Client_Html_Checkout_Update_Default';
     $client = $this->getMock($name, array('getBody', 'getHeader', 'process'), array(), '', false);
     $client->expects($this->once())->method('getBody')->will($this->returnValue('body'));
     $client->expects($this->once())->method('getHeader')->will($this->returnValue('header'));
     \Client_Html_Account_History_Factory::injectClient($name, $client);
     $output = $this->object->updateAction();
     \Client_Html_Account_History_Factory::injectClient($name, null);
     $this->assertEquals('body', $output);
 }