@Test
public void testCreateFromRelease() {

    final String homepageUrl = "dummy.page.url";
    SW360Release release = new SW360Release()
            .setName("test")
            .setProprietary(true)
            .setHomepageUrl(homepageUrl);
    SW360Component component = SW360ComponentAdapterUtils.createFromRelease(release);
    assertThat(component.getName()).isEqualTo(release.getName());
    assertThat(component.getComponentType()).isEqualTo(SW360ComponentType.INTERNAL);
    assertThat(component.getHomepage()).isEqualTo(homepageUrl);
}