/** * Tests News->__toString(). */ public function testToString() { $this->news->setTitle('foo'); $this->assertEquals('News foo', $this->news->__toString()); }