@Override
    public String getName() {
        return ANALYZER_NAME;
    }
@Test
    public void testAnalyzePinnedInstallJsonV010() throws Exception {
        try (Engine engine = new Engine(getSettings())) {
            final Dependency result = new Dependency(BaseTest.getResourceAsFile(this, "maven_install_v010.json"));
            engine.addDependency(result);
            analyzer.analyze(result, engine);
            assertFalse(ArrayUtils.contains(engine.getDependencies(), result));
            assertEquals(10, engine.getDependencies().length);
            boolean found = false;
            for (Dependency d : engine.getDependencies()) {
                if ("com.google.errorprone:error_prone_annotations".equals(d.getName())) {
                    found = true;
                    assertEquals("2.3.4", d.getVersion());
                    assertEquals(Ecosystem.JAVA, d.getEcosystem());
                }
            }
            assertTrue("Expected to find com.google.errorprone:error_prone_annotations:2.3.4", found);
        }
    }