Kraken\_Unit\Config\ConfigAwareObjectTest::testApiSetConfig_SetsConfig PHP Method

testApiSetConfig_SetsConfig() public method

    public function testApiSetConfig_SetsConfig()
    {
        $config = $this->createConfig();
        $aware = $this->createConfigAwareObject();
        $this->assertSame(null, $aware->getConfig());
        $aware->setConfig($config);
        $this->assertSame($config, $aware->getConfig());
    }