public function testSetAndGetPassword() { $value = uniqid('password'); $this->testedObject->setPassword($value); $result = $this->testedObject->getPassword(); $this->assertSame($value, $result); }