public function testIgnoresEmptyLegend()
{
$pm = PaletteManipulator::create()->addLegend('empty_legend', '', PaletteManipulator::POSITION_APPEND)->addField('foo', 'bar', PaletteManipulator::POSITION_BEFORE);
$this->assertEquals('{foobar_legend},foo,bar', $pm->applyToString('{foobar_legend},bar'));
}