@Test(expected = RuntimeException.class)
public void ShouldThrowException_When_ExceptionInLambdaIsThrown() throws Exception {

    BootstrapItem item = PowerMockito.mock(BootstrapItem.class);
    PowerMockito.whenNew(BootstrapItem.class).withArguments("ResolveIObjectByTypeStrategiesPlugin").thenReturn(item);
    PowerMockito.when(item.after("IOC")).thenReturn(item);
    plugin.load();
    PowerMockito.verifyNew(BootstrapItem.class).withArguments("ResolveIObjectByTypeStrategiesPlugin");
    Mockito.verify(item).after("IOC");
    ArgumentCaptor<IPoorAction> iPoorActionArgumentCaptor = ArgumentCaptor.forClass(IPoorAction.class);
    Mockito.verify(item).process(iPoorActionArgumentCaptor.capture());
    Mockito.verify(bootstrap).add(item);
    PowerMockito.doThrow(new ResolutionException("")).when(Keys.getOrAdd("info.smart_tools.smartactors.iobject.iobject.IObject" + "convert"));
    iPoorActionArgumentCaptor.getValue().execute();
    fail();
}