public function testCanRenderTextDelimiters() { $element = new MonthSelect('foo'); $element->setShouldCreateEmptyOption(true); $element->setShouldRenderDelimiters(true); $markup = $this->helper->__invoke($element, \IntlDateFormatter::LONG, 'pt_BR'); // pattern === "MMMM 'de' y" $this->assertStringMatchesFormat('%a de %a', $markup); }