} else { $this->
assertCount(0,
$processed_placeholders);
} } /**
* @see \Drupal\big_pipe_test\BigPipePlaceholderTestCases
*/
public function placeholdersProvider() { $cases = BigPipePlaceholderTestCases::
cases();
// Generate $placeholders variable as expected by
// \Drupal\Core\Render\Placeholder\PlaceholderStrategyInterface::processPlaceholders().
$placeholders =
[ $cases['html'
]->placeholder =>
$cases['html'
]->placeholderRenderArray,
$cases['html_attribute_value'
]->placeholder =>
$cases['html_attribute_value'
]->placeholderRenderArray,
$cases['html_attribute_value_subset'
]->placeholder =>
$cases['html_attribute_value_subset'
]->placeholderRenderArray,
$cases['edge_case__invalid_html'
]->placeholder =>
$cases['edge_case__invalid_html'
]->placeholderRenderArray,
$cases['edge_case__html_non_lazy_builder'
]->placeholder =>
$cases['edge_case__html_non_lazy_builder'
]->placeholderRenderArray,
$cases['exception__lazy_builder'
]->placeholder =>
$cases['exception__lazy_builder'
]->placeholderRenderArray,
$cases['exception__embedded_response'
]->placeholder =>
$cases['exception__embedded_response'
]->placeholderRenderArray,
];