BundleParser { public static Element parseTemplateElement(String name, JsonObject statisticsJson) { return parseTemplateElement(name, statisticsJson.getString(SOURCE)); } private  BundleParser(); static String getHashFromStatistics(String fileContents); static JsonObject parseJsonStatistics(String fileContents); static String getSourceFromStatistics(String fileName,
            JsonObject statistics); static Element parseTemplateElement(String name,
            JsonObject statisticsJson); static Element parseTemplateElement(String fileName, String source);  }
@Test public void parseTemplateElement_stringContentNotSeenAsComment() { String source = "static get template() { return html`<vaadin-text-field label=\"Nats Url(s)\" placeholder=\"nats: Element element = BundleParser.parseTemplateElement("nats.js", source); Element natsElement = element.getElementById("natsUrlTxt"); Assert.assertNotNull("Found element by Id", natsElement); Assert.assertEquals("Invalid tag for element", "vaadin-text-field", natsElement.tagName()); Assert.assertEquals( "Parsed value for attribute 'placeholder' was wrong.", "nats: }