public function testConfirmPasswordsAreEncrypted() { $pw = 'password'; $this->User->confirm_password = $pw; $this->assertTrue((new DefaultPasswordHasher())->check($pw, $this->User->confirm_password)); }