@Test
  public void shouldSendAnEventThroughGatewayIfDestinationIsEnabled() throws Exception {
    subject.send(event, destinationUri, null, tenant);

    InOrder inOrder = Mockito.inOrder(eventRepository, httpGateway);

    inOrder
        .verify(httpGateway)
        .request(
            eq(HttpMethod.POST),
            eq(URI.create(destination.getServiceURI().replaceAll("\\@\\{.*}", "value"))),
            eq(MediaType.APPLICATION_JSON),
            argLambda(objectSupplier -> objectSupplier.get().equals(event.getPayload())),
            eq(destination.getServiceUsername()),
            eq(destination.getServicePassword()));
    //        inOrder.verify(eventRepository).saveIncoming(eq(tenant),eq(event));
  }