@Test
void parseWhenBaseNameContainHyphenSymbol()
{

    String packageName = "urw-base35-d050000l-fonts-20170801-12.fc30.noarch.rpm";
    RpmArtifactCoordinates actualCoord = RpmArtifactCoordinatesUtils.parse(packageName);
    List<String> expectedCoord = Arrays.asList("urw-base35-d050000l-fonts",
                                               "20170801",
                                               "12.fc30",
                                               "noarch",
                                               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());
}