@Test
void shouldParseVersionedBuild() {

  URL bazelVersioned = BazelInfoReaderTest.class.getClassLoader().getResource(BAZEL_VERSIONED);
  File file = Urls.toFile(bazelVersioned);
  Path root = file.toPath().getParent();
  BuildInfo info = new BazelInfoReader().getInfo(root);
  assertNotNull(info);
  assertEquals("bazel-versioned", info.getName());
  assertEquals("0.0.1", info.getVersion());
  assertEquals("jar", info.getPackaging());
}