mirror of
https://github.com/OPSnet/Logchecker.git
synced 2026-01-17 03:04:36 -05:00
19 lines
456 B
PHP
19 lines
456 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace OrpheusNET\Logchecker\Check;
|
|
|
|
use PHPUnit\Framework\TestCase;
|
|
use OrpheusNET\Logchecker\Exception\UnknownRipperException;
|
|
|
|
class ChecksumTest extends TestCase
|
|
{
|
|
public function testLogcheckerExistsInvalidRipper(): void
|
|
{
|
|
$this->expectException(UnknownRipperException::class);
|
|
$this->expectExceptionMessage('Unknown ripper: invalid');
|
|
Checksum::logcheckerExists('invalid');
|
|
}
|
|
}
|