2021-02-07 04:51:23 +00:00
|
|
|
<?php
|
2024-12-28 01:28:38 +00:00
|
|
|
|
2021-02-07 04:51:23 +00:00
|
|
|
/** @license MIT
|
|
|
|
* Copyright 2017 J. King, Dustin Wilson et al.
|
|
|
|
* See LICENSE and AUTHORS files for details */
|
|
|
|
|
|
|
|
declare(strict_types=1);
|
2021-04-14 15:17:01 +00:00
|
|
|
|
2021-02-07 04:51:23 +00:00
|
|
|
namespace JKingWeb\Arsse\TestCase\Misc;
|
|
|
|
|
|
|
|
use JKingWeb\Arsse\Factory;
|
2024-12-28 01:28:38 +00:00
|
|
|
use PHPUnit\Framework\Attributes\CoversClass;
|
2021-02-07 04:51:23 +00:00
|
|
|
|
2024-12-28 01:28:38 +00:00
|
|
|
#[CoversClass(\JKingWeb\Arsse\Factory::class)]
|
2021-02-07 04:51:23 +00:00
|
|
|
class TestFactory extends \JKingWeb\Arsse\Test\AbstractTest {
|
|
|
|
public function testInstantiateAClass(): void {
|
|
|
|
$f = new Factory;
|
|
|
|
$this->assertInstanceOf(\stdClass::class, $f->get(\stdClass::class));
|
|
|
|
}
|
2021-02-09 00:14:11 +00:00
|
|
|
}
|