@Test
public void testCreateWithIncorrectVersion()
    throws Exception
{

    // GIVEN
    InputStream inputStream = NugetTestResourceUtil.getAsStream("nuspec/incorrect.version.nuspec.xml");
    // WHEN
    assertThatExceptionOfType(NugetFormatException.class)
            .isThrownBy(() -> Nuspec.parse(inputStream));
}