/** * Tests to make sure __toString returns a string as expected * * @covers BBModel::__toString */ public function test_to_string() { $this->assertTrue(is_string($this->object->__toString())); echo $this->object; }