public function testUpdateLabel() { $this->configuration->updateLabel('testColumn', 'label1'); $configArray = $this->configuration->toArray(); $this->assertEquals(['columns' => ['testColumn' => ['label' => 'label1']]], $configArray); $this->configuration->updateLabel('testColumn1', null); $configArray = $this->configuration->toArray(); $this->assertEquals(['columns' => ['testColumn' => ['label' => 'label1'], 'testColumn1' => ['label' => null]]], $configArray); $this->configuration->updateLabel('testColumn', 'label2'); $configArray = $this->configuration->toArray(); $this->assertEquals(['columns' => ['testColumn' => ['label' => 'label2'], 'testColumn1' => ['label' => null]]], $configArray); }