1
1
Fork 0
mirror of https://code.mensbeam.com/MensBeam/Arsse.git synced 2025-03-11 02:00:49 +00:00
Arsse/tests/cases/Misc/TestFactory.php

21 lines
536 B
PHP
Raw Normal View History

<?php
/** @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
namespace JKingWeb\Arsse\TestCase\Misc;
use JKingWeb\Arsse\Factory;
use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(\JKingWeb\Arsse\Factory::class)]
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
}