/**
  * Test case for oePayPalPayPalOrder::save()
  * Tests adding / getting PayPal Order Payment history item
  *
  * @return null
  */
 public function testSavePayPalPayPalOrder_update()
 {
     $oComment = new oePayPalOrderPaymentComment();
     $oComment->setCommentId(10);
     $oComment->setDate('2013-02-03 12:12:12');
     $oComment->setComment('comment');
     $oComment->setPaymentId(2);
     $oComment->save();
     $oCommentLoaded = new oePayPalOrderPaymentComment();
     $oCommentLoaded->load(10);
     $oCommentLoaded->setComment('comment comment');
     $id = $oCommentLoaded->save();
     $this->assertEquals(10, $id);
     $oCommentLoaded = new oePayPalOrderPaymentComment();
     $oCommentLoaded->load(10);
     $this->assertEquals(10, $oCommentLoaded->getCommentId());
     $this->assertEquals('comment comment', $oCommentLoaded->getComment());
     $this->assertEquals(2, $oCommentLoaded->getPaymentId());
     $this->assertEquals('2013-02-03 12:12:12', $oCommentLoaded->getDate());
 }