assertNotSame('s3cret!', $h); $this->assertTrue(Password::verify('s3cret!', $h)); $this->assertFalse(Password::verify('wrong', $h)); } public function testCsrf(): void { $t = Csrf::issue(fn() => 'abc123'); $this->assertSame('abc123', $t); $this->assertTrue(Csrf::check($t, 'abc123')); $this->assertFalse(Csrf::check($t, 'nope')); } }