DataSift\Storyplayer\ConfigLib\ConfigListTest::testManuallyAddedConfigsMustBeCompatibleType PHP Method

testManuallyAddedConfigsMustBeCompatibleType() public method

    public function testManuallyAddedConfigsMustBeCompatibleType()
    {
        // ----------------------------------------------------------------
        // setup your test
        $obj = new ConfigList("DataSift\\Storyplayer\\ConfigLib\\StoryplayerConfig", __DIR__ . '/ConfigListTestData1');
        $obj->findConfigs();
        $expectedName = 'injected-1';
        $expectedConfig = new WrappedConfig();
        // ----------------------------------------------------------------
        // perform the change
        $obj->addEntry($expectedName, $expectedConfig);
    }