@Test
public void testParseFileToPypiMetadataDto()
        throws IllegalAccessException, IOException
{

    PypiPackageInfo testDao = pypiMetadataParser.parseMetadataFile(
            new FileInputStream("src/test/resources/org.carlspring.strongbox.util/PKG-INFO"));
    assertThat("hello-strongbox-pip").isEqualTo(testDao.getName());
    assertThat("1.0").isEqualTo(testDao.getMetadataVersion().getVersionString());
    assertThat("1.0.0").isEqualTo(testDao.getVersion());
    assertThat("Hello, Strongbox [pip]!").isEqualTo(testDao.getSummary());
    assertThat("https://github.com/strongbox/strongbox-examples").isEqualTo(testDao.getHomePage());
    assertThat("Martin Todorov").isEqualTo(testDao.getAuthor());
    assertThat("foo@bar.com").isEqualTo(testDao.getAuthorEmail());
    assertThat("Apache 2.0").isEqualTo(testDao.getLicense());
    assertThat("UNKNOWN").isEqualTo(testDao.getDescriptionContentType());
    assertThat("UNKNOWN").isEqualTo(testDao.getDescription());
    assertThat("UNKNOWN").isEqualTo(testDao.getPlatform());
}