public function testGetContextValueAsStringWithCustomSeparator() { $phrase = new Phrase('phrase', 'translation', 'context_type', 'context_value1'); $phrase->addContextValue('context_value2'); $phrase->addContextValue('context_value3'); $this->assertEquals('context_value1::context_value2::context_value3', $phrase->getContextValueAsString('::')); }