@Test
public void testSchemaResolution() {

  File localRepo = new File(System.getProperty("user.home"), ".m2/repository");
  RemoteRepository bintray = new RemoteRepository.Builder("central", "default",
          "https://dl.bintray.com/zolyfarkas/core")
          .build();
  MavenSchemaResolver resolver = new MavenSchemaResolver(Collections.singletonList(bintray),
          localRepo, null, "jar");
  String mvnId = "org.spf4j.avro:core-schema:0.2:6";
  Schema resolveSchema = resolver.resolveSchema(mvnId);
  Assert.assertEquals("ServiceError", resolveSchema.getName());
}