/** * @covers Veles\DataBase\Connections\DbConnection::getPassword * @depends testSetPassword */ public function testGetPassword() { $expected = 'Mega-password'; $this->object->setPassword($expected); $result = $this->object->getPassword(); $msg = 'Wrong Connection::getPassword return result!'; $this->assertSame($expected, $result, $msg); }