}
@Test
public void testPluginActionForAvailablePluginShouldBeSuccessful()
throws org.jtalks.common.service.exceptions.NotFoundException {
ExtendedPlugin plugin = mock(ExtendedPlugin.class);
HttpServletResponse response = mock(HttpServletResponse.class);
HttpServletRequest request = mock(HttpServletRequest.class);
String pluginId = "1";
when(pluginService.getPluginById(eq(pluginId), any(TypeFilter.class))).thenReturn(plugin);