@Test(expected = ChainChoiceException.class)
public void Should_wrapExceptionThrownByIOC()
        throws Exception {

    when(chainIdStrategy.resolve(any())).thenThrow(ResolveDependencyStrategyException.class);
    IChainChoiceStrategy strategy = new ConstantChainChoiceStrategy();
    strategy.chooseChain(messageProcessorMock);
}