/** * @covers ::toArray */ public function testToArray() { $this->assertNotEmpty(Errors::toArray()); $this->assertContains(E_ERROR, Errors::toArray()); $this->assertContains(E_RECOVERABLE_ERROR, Errors::toArray()); }