@Test
public void testArtifactWithoutFacts() {

    Artifact artifact = new Artifact()
            .setProprietary(false);
    thrownException.expect(ExecutionException.class);
    thrownException.expectMessage("does not have enough facts to create a component name.");
    ArtifactToReleaseUtils.convertToReleaseWithoutAttachments(artifact);
}