### Question:
ProvisioUtils { public static String coordinateToPath(ProvisioArtifact a) { StringBuffer path = new StringBuffer() .append(a.getArtifactId()) .append("-") .append(a.getVersion()); if (a.getClassifier() != null && !a.getClassifier().isEmpty()) { path.append("-") .append(a.getClassifier()); } path.append(".") .append(a.getExtension()); return path.toString(); }  static String coordinateToPath(ProvisioArtifact a);  }### Answer:
@Test public void validateCoordinateToPath() { ProvisioArtifact artifact = new ProvisioArtifact("io.prestosql:presto-main:332"); String path = coordinateToPath(artifact); assertEquals("presto-main-332.jar", path); }