@Test
public void build() throws Exception {

  final BuckPathResolver pathResolver = new BuckPathResolver(
    new HotDeployParameters()
      .withVerticleReference("io.dazraf.vertx.buck.test.App")
      .withBuildOutputDirectories(singletonList("buck-out/gen/test-project.jar"))
      .withCompileSourcePaths(singletonList("java")),
    of("target/test-classes/project"),
    "//:test-project"
  );
  final BuckCompiler compiler = new BuckCompiler(
    "//:test-project",
    BuckHotDeployBuilder.FetchMode.MANUAL,
    pathResolver
  );
  final CompileResult actual = compiler.compile();
  assertEquals(pathResolver.getClasspath(), actual.getClassPath());
}