Gush\Tests\Factory\AdapterFactoryTest::testCreateRepositoryManagerAdapter PHP Метод

testCreateRepositoryManagerAdapter() публичный Метод

    public function testCreateRepositoryManagerAdapter()
    {
        $factory = new TestAdapterFactory();
        $this->adapterFactory->register('test', 'Testing', $factory);
        $createdAdapter = $this->adapterFactory->createRepositoryManager('test', [], $this->config);
        $this->assertInstanceOf(Adapter::class, $createdAdapter);
    }