* @throws PluginNotFoundException throw if plugin is not found.
* @throws PluginStatusException throw if plugin status is wrong.
*/
@Test
public void onReceiveWithPluginNotFoundException() throws PluginNotFoundException, PluginStatusException {
doThrow(new PluginNotFoundException()).when(apiMock).getHandler();
RabbitMQMessageListenerImpl listener = new RabbitMQMessageListenerImpl();
Whitebox.setInternalState(listener, GerritTriggerApi.class, apiMock);
listener.onBind("TEST");