@Test
void linkWithServiceProperties() {

    Bundle bundle = new Bundle();
    link(bundle, true);
    assertFalse(bundle.getServiceEnvironmentProperties().isEmpty());
    assertEquals(1, bundle.getServiceEnvironmentProperties().size());
    ServiceEnvironmentProperty property = bundle.getServiceEnvironmentProperties().get("service.prop");
    assertNotNull(property);
    assertEquals("value2", property.getValue());
    assertEquals("service.prop", property.getKey());
}