@Test
void linkWithServiceMissing() {

    ListenPortLinker linker = new ListenPortLinker();
    ListenPort port = new ListenPort();
    port.setName("Port");
    port.setTargetServiceReference("Service");
    Bundle bundle = new Bundle();
    assertThrows(LinkerException.class, () -> linker.link(port, bundle, bundle));
}