new OutboundHandler(null, mock(SwitchYardCamelContext.class), _messageComposer, null);
}
@Test
public void throwsIllegalArgumentExceptionIfBindingModelURIIsNull() {
CamelBindingModel emptyURIModel = mock(CamelBindingModel.class);
when(bindingModel.getComponentURI()).thenReturn(null);
exception.expect(IllegalArgumentException.class);
exception.expectMessage("binding uri must not be null");
new OutboundHandler(emptyURIModel, mock(SwitchYardCamelContext.class), _messageComposer, null);
}