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