targetFile()); $kernel = new Kernel( new Configuration(), [new TipDirective()] ); $this->builder = new Builder($kernel); $this->builder->getConfiguration()->setUseCachedMetas(false); $this->builder->build($this->sourceFile(), $this->targetFile()); } public function testLiteralNestedInDirective(): void { $contents = $this->getFileContents($this->targetFile('index.html')); self::assertStringContainsString('class="tip"', $contents); self::assertStringContainsString('', $contents); } protected function getFixturesDirectory(): string { return 'LiteralNestedInDirective'; } }