@Test
void convertingFileWithUnknownChecksumHasAtLeastPackageUrl() {

    Artifact myArtifact = new ArtifactTestHarness.Builder()
            .addFilename("model-1.0.0-SNAPSHOT.jar", "abcdef")
            .build();
    Component component = toComponent(myArtifact);
    assertThat(component.getPurl()).isEqualTo("pkg:generic/model-1.0.0-SNAPSHOT.jar?checksum=UNKNOWN%3Aabcdef&download_url=file%3A%2F%2Fmodel-1.0.0-SNAPSHOT.jar");
}