public function testTitle() { $cur = new Currency('tst', 2); $obj = new Money($cur, 5.21); $title = '5' . Money::SEPARATOR . '21 TST'; $this->assertEquals($title, $obj->getTitle()); }