mirror of
https://ghproxy.net/https://github.com/typisttech/image-optimize-command.git
synced 2026-07-27 13:06:57 +08:00
29 lines
674 B
PHP
29 lines
674 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace TypistTech\ImageOptimizeCommand\CLI;
|
|
|
|
use Codeception\Test\Unit;
|
|
use Psr\Log\LoggerInterface as PsrLoggerInterface;
|
|
use TypistTech\ImageOptimizeCommand\LoggerInterface;
|
|
|
|
class LoggerTest extends Unit
|
|
{
|
|
/**
|
|
* @var \TypistTech\ImageOptimizeCommand\UnitTester
|
|
*/
|
|
protected $tester;
|
|
|
|
public function testImplementsPsrLoggerInterface()
|
|
{
|
|
$logger = new Logger();
|
|
$this->assertInstanceOf(PsrLoggerInterface::class, $logger);
|
|
}
|
|
|
|
public function testImplementsLoggerInterface()
|
|
{
|
|
$logger = new Logger();
|
|
$this->assertInstanceOf(LoggerInterface::class, $logger);
|
|
}
|
|
}
|