@Test
public void testConnectorFile_shouldBeInstalled() throws Exception {

    File connectorFile = createSampleConnectorFile();
    connectorDeployerService.install(connectorFile);
    NullDomain domainEndpoints = wiringService.getDomainEndpoint(NullDomain.class, "*");
    domainEndpoints.nullMethod(42);
    verify(createdService).nullMethod(42);
}