@Override
    public String getName() {
        return ANALYZER_NAME;
    }
@Test
    public void testAnalyzePackageLock() throws Exception {
        try (Engine engine = new Engine(getSettings())) {
            final Dependency result = new Dependency(BaseTest.getResourceAsFile(this, "pip/Pipfile.lock"));
            engine.addDependency(result);
            analyzer.analyze(result, engine);
            assertFalse(ArrayUtils.contains(engine.getDependencies(), result));
            assertEquals(76, engine.getDependencies().length);
            boolean found = false;
            for (Dependency d : engine.getDependencies()) {
                if ("alabaster".equals(d.getName())) {
                    found = true;
                    assertEquals("0.7.12", d.getVersion());
                    assertThat(d.getDisplayFileName(), equalTo("alabaster:0.7.12"));
                    assertEquals(PythonDistributionAnalyzer.DEPENDENCY_ECOSYSTEM, d.getEcosystem());
                    break;
                }
            }
            assertTrue("Expeced to find urllib3", found);
        }
    }