public function testPassword_Ok() { $user = User::find(170); $this->assertNotNull($user); $plain_password = '******'; $isAuth = $user->passwordCheck($plain_password); $this->assertTrue($isAuth); }