assertTrue(setupSupportsTest("some-portlet", true, false, FNameFilterType.Blacklist));
}
private boolean setupSupportsTest(String fname, boolean classMatch, boolean fnameMatch, FNameFilterType filterType) {
PortletExecutionEvent event = spy(new MockPortletExecutionEvent());
when(event.getFname()).thenReturn(fname);
PortletExecutionEventConverter converter = new PortletExecutionEventConverter();
List<Class<? extends PortletExecutionEvent>> classes = new ArrayList<Class<? extends PortletExecutionEvent>>();
classes.add(PortletActionExecutionEvent.class);
if (classMatch) {