public function testSetTotal() { $expected = new Money(10, CurrencyCode::USD); $sell = new Sell(); $sell->setTotal($expected); $this->assertSame($expected, $sell->getTotal()); }