function testResourceInheritsMultiple() { $acl = new lmbAcl(); $acl->addResource('content'); $acl->addResource('articles'); $acl->addResource('news', array('content', 'articles')); $inherits = $acl->getResourceInherits('news'); $this->assertTrue(in_array('articles', $inherits)); $this->assertTrue(in_array('content', $inherits)); }