public function testResetAllPasswords()
{
$this->Shell->expects($this->once())->method('_generatedHashedPassword')->will($this->returnValue('hashedPasssword'));
$this->Shell->Users->expects($this->once())->method('updateAll')->with(['password' => 'hashedPasssword'], ['id IS NOT NULL']);
$this->Shell->runCommand(['resetAllPasswords', '123']);
}