@Test
public void checkLoadExecution()
        throws Exception {

    Checker checker = new Checker();
    checker.item = new BootstrapItem("test");
    IBootstrap<IBootstrapItem<String>> bootstrap = mock(IBootstrap.class);
    List<IBootstrapItem<String>> itemList = new ArrayList<>();
    doAnswer(new Answer<Void>() {
        public Void answer(InvocationOnMock invocation) {
            Object[] args = invocation.getArguments();
            checker.item = (IBootstrapItem<String>) args[0];
            itemList.add(checker.item);
            return null;
        }
    })
            .when(bootstrap)
            .add(any(IBootstrapItem.class));
    IPlugin plugin = new HttpClientPlugin(bootstrap);
    plugin.load();
    assertEquals(itemList.size(), 1);
    IBootstrapItem<String> item = itemList.get(0);
    item.executeProcess();
    reset(bootstrap);
}