mirror of
https://gh.wpcy.net/https://github.com/typisttech/image-optimize-command.git
synced 2026-05-24 15:41:58 +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);
|
|
}
|
|
}
|