public function testCreateClassDefinitionFromString() { $this->assertInstanceOf('\\Magento\\Framework\\ObjectManager\\Definition\\Compiled\\Serialized', $this->model->createClassDefinition($this->sampleContent)); $autoloadFunctions = spl_autoload_functions(); spl_autoload_unregister(array_pop($autoloadFunctions)); }
public function testCreateClassDefinitionFromString() { $this->assertInstanceOf('\\Magento\\Framework\\ObjectManager\\Definition\\Compiled\\Serialized', $this->model->createClassDefinition($this->sampleContent)); }