public function testFactoryShouldThrowExceptionIfWrongMethodIsSet()
{
$config = new Ini(INCUBATOR_FIXTURES . 'Acl/acl.ini');
$config->acl->role->user->wrongmethod = new Config(['test' => ['actions' => ['test']]]);
$factory = new MemoryFactory();
$factory->create($config->get('acl'));
}