@Test
public void testGradleDependencyGenerationWithClassifier()
        throws ProviderImplementationException
{

    DependencySynonymFormatter formatter = compatibleDependencyFormatRegistry.getProviderImplementation(Maven2LayoutProvider.ALIAS,
                                                                                                        GradleDependencyFormatter.ALIAS);
    assertThat(formatter).as("Failed to look up dependency synonym formatter!").isNotNull();
    MavenArtifactCoordinates coordinates = new MavenArtifactCoordinates();
    coordinates.setGroupId("org.carlspring.strongbox");
    coordinates.setArtifactId("maven-snippet");
    coordinates.setVersion("1.0");
    coordinates.setClassifier("jdk12");
    String snippet = formatter.getDependencySnippet(coordinates);
    System.out.print(snippet);
    // compile "org.gradle.test.classifiers:service:1.0:jdk15@jar"
    assertThat(snippet)
            .as("Failed to generate dependency!")
            .isEqualTo("compile \"org.carlspring.strongbox:maven-snippet:1.0:jdk12\"\n");
}