@Test
public void testPythonArchiveFormats() throws FileAnalysisException {

  final FileAnalyzer f1 =
      FileAnalyzerFactory.buildFileAnalyzer(
          new File("src/test/resources/monotonic-1.3-py2.py3-none-any.whl"));
  final Map<ConstructId, Construct> c1 = f1.getConstructs();
  assertEquals(7, c1.size());
  final FileAnalyzer f2 =
      FileAnalyzerFactory.buildFileAnalyzer(
          new File("src/test/resources/setuptools_git-1.2-py3.6.egg"));
  final Map<ConstructId, Construct> c2 = f2.getConstructs();
  assertEquals(58, c2.size());
  final FileAnalyzer f4 =
      FileAnalyzerFactory.buildFileAnalyzer(
          new File("src/test/resources/itsdangerous-0.24.tar.gz"));
  final Map<ConstructId, Construct> c4 = f4.getConstructs();
  assertEquals(128, c4.size());
}