void () { String dependency = getDependency("group", "artifact", "1.0", null, null); String comment = "<!-- comment before dependency -->\n"; copyPasteTest("implementation 'group:artifact:1.0'", dependency); copyPasteTest("implementation 'group:artifact:1.0'", comment + dependency); }