@Test
public void checkPluginCreation()
        throws Exception {

    PluginCreator creator = new PluginCreator();
    IBootstrap<Object> bootstrap = mock(IBootstrap.class);
    doNothing().when(bootstrap).add(bootstrap);
    IPlugin plugin = creator.create(PluginTest.class, bootstrap);
    assertNotNull(plugin);
    plugin.load();
    verify(bootstrap, times(1)).add(any(Object.class));
}