public function testToUseCaptionOutput() { $stringValue = new StringValue('_txt'); $stringValue->setCaption('ABC[<>]'); $instance = new StringValueFormatter($stringValue); $this->assertEquals('ABC[<>]', $instance->format(StringValueFormatter::WIKI_SHORT)); $this->assertEquals('ABC[<>]', $instance->format(StringValueFormatter::HTML_SHORT)); }