/** * @depends testSetPermissionsSetsProperty */ public function testGetPermissionsReturnsPropertyValue() { $permissionDefinition = $this->getMockForAbstractClass('\\Dkd\\PhpCmis\\Definitions\\PermissionDefinitionInterface'); $this->aclCapabilities->setPermissions(array($permissionDefinition)); $this->assertSame(array($permissionDefinition), $this->aclCapabilities->getPermissions()); }