@Test
public void Should_wrapExceptionThrownByChainStorage()
        throws Exception {

    doThrow(ChainCreationException.class).when(chainStorageMock).register(chain2id, section.get(1));
    try {
        ISectionStrategy strategy = new MapsSectionProcessingStrategy();
        strategy.onLoadConfig(configMock);
        fail();
    } catch (ConfigurationProcessingException e) {
        assertSame(ChainCreationException.class, e.getCause().getClass());
        verify(chainStorageMock).register(chain1id, section.get(0));
    }
}