for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* Spiral Framework, SpiralScout LLC.
*
* @author Anton Titov (Wolfy-J)
*/
declare(strict_types=1);
namespace Spiral\Tests\Encrypter;
use PHPUnit\Framework\TestCase;
use Spiral\Encrypter\Config\EncrypterConfig;
class ConfigTest extends TestCase
{
public function testKey(): void
$config = new EncrypterConfig([
'key' => 'abc'
]);
$this->assertSame('abc', $config->getKey());
}