@Test
void parseWhenReleaseContainPlusSymbol()
{

    String packageName = "cdi-api-1.2-8.module_f28+3939+dc18cd75.noarch.rpm";
    RpmArtifactCoordinates actualCoord = RpmArtifactCoordinatesUtils.parse(packageName);
    List<String> expectedCoord = Arrays.asList("cdi-api",
                                               "1.2",
                                               "8.module_f28+3939+dc18cd75",
                                               "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());
}