public function testNonExistentConfig()
{
$adapter = new MockAdapter();
$this->assertException("Configuration `non_existent_config` has not been defined.", function () use($adapter) {
$adapter::adapter('non_existent_config');
});
}