Add in software files and templates

This commit is contained in:
2023-06-21 14:19:40 +01:00
parent f42fdb947c
commit 5228fc5e9f
143 changed files with 23175 additions and 2 deletions

View File

@@ -0,0 +1,16 @@
<?php
namespace Liuch\DmarcSrg;
use Liuch\DmarcSrg\Exception\RuntimeException;
class RuntimeExceptionTest extends \PHPUnit\Framework\TestCase
{
public function testExceptionCode(): void
{
$this->assertSame(-1, (new RuntimeException())->getCode());
$this->assertSame(0, (new RuntimeException('', 0))->getCode());
$this->assertSame(-1, (new RuntimeException('', -1))->getCode());
$this->assertSame(77, (new RuntimeException('', 77))->getCode());
}
}