Gush\Tests\Factory\AdapterFactoryTest::testCannotCreateUnregisteredAdapter PHP Method

testCannotCreateUnregisteredAdapter() public method

    public function testCannotCreateUnregisteredAdapter()
    {
        $this->setExpectedException('InvalidArgumentException', 'No Adapter with name "test2" is registered.');
        $this->adapterFactory->createRepositoryManager('test2', [], $this->config);
    }