/** * @test */ public function testErrorMessage() { $msg = $this->object->errorMessage(); $this->assertContains('Error on line', $msg); }