public function testSetValueText() { $this->assertCount(0, $this->legend->toArray()); $this->legend->setValueText('[[value]]'); $this->assertEquals('[[value]]', $this->legend->getValueText()); $this->assertCount(1, $this->legend->toArray()); }