/** * @covers Veles\ErrorHandler\BaseErrorHandler::getVars */ public function testGetVars() { $expected = []; $result = $this->object->getVars(); $msg = 'BaseErrorHandler::getVars() returns wrong result!'; $this->assertSame($expected, $result, $msg); $msg = 'BaseErrorHandler::vars has wrong default type!'; $this->assertAttributeInternalType('array', 'vars', $this->object, $msg); }