protected function createRuntimeWithFixtures($additionalTypoScriptFile = null)
{
$typoScriptService = new TypoScriptService();
$typoScriptService->setSiteRootTypoScriptPattern(__DIR__ . '/Fixtures/BaseTypoScript.fusion');
if ($additionalTypoScriptFile !== null) {
$typoScriptService->setAppendTypoScriptIncludes(array($additionalTypoScriptFile));
}
$controllerContext = $this->buildMockControllerContext();
$runtime = $typoScriptService->createRuntime($this->node->getParent(), $controllerContext);
return $runtime;
}