@Test
public void testCreateComponentNameWithNamespace() {

    Artifact artifact = new Artifact();
    artifact.addFact(new ArtifactCoordinates(
            new CoordinateBuilder()
                    .withType(COORD_TYPE)
                    .withName(COORD_NAME)
                    .withNamespace(COORD_NAMESPACE)
                    .withVersion(COORD_VERSION)
                    .build()));
    String name = ArtifactToComponentUtils.createComponentName(artifact);
    assertThat(name).isEqualTo(COORD_NAMESPACE + "/" + COORD_NAME);
}