/**
  * Substitues multiple subparts at once
  *
  * @param string $content The content stream, typically HTML template content.
  * @param array $subpartsContent The array of key/value pairs being subpart/content values used in the substitution. For each element in this array the function will substitute a subpart in the content stream with the content.
  * @return string The processed HTML content string.
  */
 public function substituteSubpartArray($content, array $subpartsContent)
 {
     return $this->templateService->substituteSubpartArray($content, $subpartsContent);
 }
 /**
  * @test
  * @param string $content
  * @param array $subpartsContent
  * @param string $expected
  * @dataProvider substituteSubpartArrayDataProvider
  */
 public function substituteSubpartArray($content, array $subpartsContent, $expected)
 {
     $this->assertSame($expected, $this->templateService->substituteSubpartArray($content, $subpartsContent));
 }