public function testApiConstructor_CreatesInstance() { $factory = $this->createThreadManagerFactory(); $this->assertInstanceOf(ThreadManagerFactory::class, $factory); $this->assertInstanceOf(ThreadManagerFactoryInterface::class, $factory); }