2021-02-06 23:51:23 -05:00
|
|
|
<?php
|
2024-12-27 20:28:38 -05:00
|
|
|
|
2021-02-06 23:51:23 -05: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 11:17:01 -04:00
|
|
|
|
2021-02-06 23:51:23 -05:00
|
|
|
namespace JKingWeb\Arsse\TestCase\Misc;
|
|
|
|
|
|
|
|
use JKingWeb\Arsse\Factory;
|
2024-12-27 20:28:38 -05:00
|
|
|
use PHPUnit\Framework\Attributes\CoversClass;
|
2021-02-06 23:51:23 -05:00
|
|
|
|
2024-12-27 20:28:38 -05:00
|
|
|
#[CoversClass(\JKingWeb\Arsse\Factory::class)]
|
2021-02-06 23:51:23 -05: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-08 19:14:11 -05:00
|
|
|
}
|