public function testFactoryShouldWorkIfCreatedFromConfigPHPArray()
{
$config = new Config(include INCUBATOR_FIXTURES . 'Acl/acl.php');
$factory = new MemoryFactory();
$acl = $factory->create($config->get('acl'));
$this->assertInstanceOf('Phalcon\\Acl\\Adapter\\Memory', $acl);
$this->assertAclIsConfiguredAsExpected($acl, $config);
}