@Override
    public String getName() {
        return "Poetry Analyzer";
    }
@Test
    public void testPoetryLock() throws AnalysisException {
        final Dependency result = new Dependency(BaseTest.getResourceAsFile(this, "poetry.lock"));
        analyzer.analyze(result, engine);
        assertEquals(88, engine.getDependencies().length);
        boolean found = false;
        for (Dependency d : engine.getDependencies()) {
            if ("urllib3".equals(d.getName())) {
                found = true;
                assertEquals("1.26.12", d.getVersion());
                assertThat(d.getDisplayFileName(), equalTo("urllib3:1.26.12"));
                assertEquals(PythonDistributionAnalyzer.DEPENDENCY_ECOSYSTEM, d.getEcosystem());
            }
        }
        assertTrue("Expeced to find PyYAML", found);
    }