createMock( Context::class ); $script = DataScript::makeScript( $context ); $this->assertStringContainsString( '"extCodeMirrorConfig":', $script ); $this->assertStringContainsString( '"lineNumberingNamespaces":', $script ); $this->assertStringContainsString( '"templateFoldingNamespaces":', $script ); $this->assertStringContainsString( '"autocompleteNamespaces":', $script ); $this->assertStringContainsString( '"pluginModules":', $script ); $this->assertStringContainsString( '"tagModes":', $script ); $this->assertStringContainsString( '"tags":', $script ); $this->assertStringContainsString( '"doubleUnderscore":', $script ); $this->assertStringContainsString( '"functionSynonyms":', $script ); $this->assertStringContainsString( '"urlProtocols":', $script ); $this->assertStringContainsString( '"linkTrailCharacters":', $script ); } }