public URI executionUrl(Execution execution) {
        return this.build("/ui/" +
            (execution.getTenantId() != null ? execution.getTenantId() + "/" : "") +
            "executions/" +
            execution.getNamespace() + "/" +
            execution.getFlowId() + "/" +
            execution.getId());
    }
@Test
    void executionUrl() {
        Flow flow = TestsUtils.mockFlow();
        Execution execution = TestsUtils.mockExecution(flow, ImmutableMap.of());

        assertThat(uriProvider.executionUrl(execution).toString(), containsString("mysuperhost.com/subpath/ui"));
        assertThat(uriProvider.executionUrl(execution).toString(), containsString(flow.getNamespace() + "/" + flow.getId() + "/" + execution.getId()));
    }