@Test (expected = PluginException.class)
public void checkPluginExceptionOnPluginLoad()
        throws Exception {

    IBootstrap<IBootstrapItem<String>> bootstrap = mock(IBootstrap.class);
    IPlugin plugin = new ActorReceiverCreatorPlugin(bootstrap);
    doThrow(Exception.class).when(bootstrap).add(any(IBootstrapItem.class));
    plugin.load();
    fail();
}