コード例 #1
0
ファイル: TradeDataTest.php プロジェクト: junjinZ/wealthbot
 public function testSetVsps()
 {
     $vsps = array(array('purchase' => 'VSP', 'purchase_date' => '02132013', 'quantity' => 70));
     $this->tradeData->setVsps($vsps);
     $this->assertCount(1, $this->tradeData->getVsps());
     $this->assertEquals($vsps, $this->tradeData->getVsps());
 }