/** * @covers Veles\DataBase\Exceptions\DbException::setSql */ public function testSetSql() { $expected = uniqid(); $this->object->setSql($expected); $result = $this->object->getSql(); $msg = 'DbException::setSql() wrong behavior!'; $this->assertSame($expected, $result, $msg); }