@Test
public void MustInCorrectExecuteActionWhenNewCreateStrategyThrowException() throws Exception {

    BootstrapItem item = mock(BootstrapItem.class);
    whenNew(BootstrapItem.class).withArguments(bootstrapArgument).thenReturn(item);
    when(item.after(anyString())).thenReturn(item);
    plugin.load();
    verifyNew(BootstrapItem.class).withArguments(bootstrapArgument);
    verify(item).after("IOC");
    ArgumentCaptor<IPoorAction> iPoorActionArgumentCaptor = ArgumentCaptor.forClass(IPoorAction.class);
    verify(item).process(iPoorActionArgumentCaptor.capture());
    verify(bootstrap).add(item);
    IKey fieldNameKey = mock(IKey.class);
    when(Keys.getOrAdd(FieldName.class.getCanonicalName())).thenReturn(fieldNameKey);
    whenNew(ResolveByNameIocStrategy.class).withArguments(any()).thenThrow(new InvalidArgumentException(""));
    try {
        iPoorActionArgumentCaptor.getValue().execute();
    } catch (ActionExecuteException e) {
        verifyStatic();
        Keys.getOrAdd(FieldName.class.getCanonicalName());
        verifyNew(ResolveByNameIocStrategy.class).withArguments(any());
        return;
    }
    assertTrue("Must throw Exception", false);
}