gateway = new AuthCryptoGateway(); } public function testIsConfiguredReturnsTrueWhenKeyIsSet(): void { self::assertTrue($this->gateway->isConfigured()); } public function testEncryptDecryptDelegatesToCrypto(): void { $plaintext = 'auth-secret'; $encrypted = $this->gateway->encryptString($plaintext); self::assertNotSame($plaintext, $encrypted); self::assertSame($plaintext, $this->gateway->decryptString($encrypted)); } }