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

    whenNew(BootstrapItem.class).withArguments("GetFirstNotNullRulePlugin").thenThrow(new InvalidArgumentException(""));
    targetPlugin.load();
}