Пример #1
0
 public function testSell()
 {
     $this->security->sell(5, 55);
     $this->assertEquals(5, $this->security->getQty());
     $this->assertEquals(150.3, $this->security->getAmount());
 }