@Test
void parseWhenPackageNameWithPath()
{

    String packageName = "/usr/lib/test/libqxt-qt5-0.7.0-0.15.20130718giteaf6872f6ad4.fc30.x86_64.rpm";
    RpmArtifactCoordinates actualCoord = RpmArtifactCoordinatesUtils.parse(packageName);
    List<String> expectedCoord = Arrays.asList("libqxt-qt5",
                                               "0.7.0",
                                               "0.15.20130718giteaf6872f6ad4.fc30",
                                               "x86_64",
                                               RpmPackageType.BINARY.getPostfix(),
                                               "rpm");
    assertThat(expectedCoord.get(0)).isEqualTo(actualCoord.getId());
    assertThat(expectedCoord.get(1)).isEqualTo(actualCoord.getVersion());
    assertThat(expectedCoord.get(2)).isEqualTo(actualCoord.getRelease());
    assertThat(expectedCoord.get(3)).isEqualTo(actualCoord.getArchitecture());
    assertThat(expectedCoord.get(4)).isEqualTo(actualCoord.getPackageType());
}