@Test
public void testShouldBeIncludedTextualSearch() throws Exception {

    SearchChannel channel = mock(SearchChannel.class);
    mockCapabilities(channel, true);
    doReturn(true).when(channel).hasPermission(getGuestUser());
    SearchOptionsHandler handler = getHandler();
    assertTrue("Channel should be permitted if there's textual capabilities, no blacklist and user is permitted", handler.shouldBeIncluded(channel, getGuestUser()));
}