public function testCanUpdateResourceGroup()
{
$this->adapter->addResourceGroup('g1', ['images.get', 'images.head']);
$this->adapter->addResourceGroup('g2', ['image.get']);
$this->assertSame(['images.get', 'images.head'], $this->adapter->getGroup('g1'));
$this->assertSame(['image.get'], $this->adapter->getGroup('g2'));
$this->adapter->updateResourceGroup('g1', ['status.get']);
$this->assertSame(['status.get'], $this->adapter->getGroup('g1'));
$this->assertSame(['image.get'], $this->adapter->getGroup('g2'));
// Has not changed
}