public function testSetInitial() { $initial = $this->getMock('Model\\WealthbotRebalancer\\Lot', null); $initial->setId(5); $this->lot->setInitial($initial); $this->assertEquals(5, $this->lot->getInitial()->getId()); }
public function testSetInitial() { $initial = $this->getMock('Model\\WealthbotRebalancer\\Lot', null); $initial->setId(5); $this->lot->setInitial($initial); $this->assertEquals(5, $this->lot->getInitial()->getId()); }