function testChangingSomeoneElsesPasswordDoesntMakePersistent()
{
$subject = $this->user123;
$modifier = $this->getMockElggUser(234);
$this->dbMock->expects($this->atLeastOnce())->method('deleteData')->will($this->returnCallback(array($this, 'mock_deleteAll')));
$this->dbMock->expects($this->never())->method('insertData');
$this->svc->handlePasswordChange($subject, $modifier);
$this->assertNull($this->lastCookieSet);
$this->assertNull($this->session->get('code'));
}