@Test
void parseWhenBaseNameContainPlusSymbol()
{

    String packageName = "gmp-c++-6.1.2-10.fc30.src.rpm";
    RpmArtifactCoordinates actualCoord = RpmArtifactCoordinatesUtils.parse(packageName);
    List<String> expectedCoord = Arrays.asList("gmp-c++",
                                               "6.1.2",
                                               "10.fc30",
                                               null,
                                               "src");
    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());
}