@@ -0,0 +1,2243 @@
+package com.autonomy.abc.keywords;%0A%0Aimport com.autonomy.abc.config.ABCTestBase;%0Aimport com.autonomy.abc.config.TestConfig;%0Aimport com.autonomy.abc.framework.categories.CoreFeature;%0Aimport com.autonomy.abc.selenium.keywords.KeywordFilter;%0Aimport com.autonomy.abc.selenium.keywords.KeywordService;%0Aimport com.autonomy.abc.selenium.page.search.SearchPage;%0Aimport com.autonomy.abc.selenium.search.SearchService;%0Aimport org.junit.After;%0Aimport org.junit.Before;%0Aimport org.junit.Test;%0Aimport org.junit.experimental.categories.Category;%0A%0Aimport static com.autonomy.abc.framework.ABCAssert.assertThat;%0Aimport static com.autonomy.abc.matchers.ElementMatchers.containsText;%0Aimport static org.hamcrest.Matchers.*;%0A%0Apublic class KeywordsCoreITCase extends ABCTestBase %7B%0A    private KeywordService keywordService;%0A    private SearchService searchService;%0A%0A    public KeywordsCoreITCase(TestConfig config) %7B%0A        super(config);%0A    %7D%0A%0A    @Before%0A    public void setUp() %7B%0A        keywordService = getApplication().createKeywordService(getElementFactory());%0A        searchService = getApplication().createSearchService(getElementFactory());%0A    %7D%0A%0A    @After%0A    public void tearDown() %7B%0A        keywordService.deleteAll(KeywordFilter.ALL);%0A    %7D%0A%0A    @Test%0A    @Category(CoreFeature.class)%0A    public void testCreateBlacklist() %7B%0A        final String blacklist = %22naughty%22;%0A        keywordService.addBlacklistTerms(blacklist);%0A        SearchPage searchPage = searchService.search(blacklist);%0A        assertThat(searchPage.visibleDocumentsCount(), is(0));%0A    %7D%0A%0A    @Test%0A    @Category(CoreFeature.class)%0A    public void testCreateSynonyms() %7B%0A        final String hasResults = %22car%22;%0A        final String noResults = %22zxpqw%22;%0A        keywordService.addSynonymGroup(hasResults, noResults);%0A        SearchPage searchPage = searchService.search(noResults);%0A        assertThat(searchPage.visibleDocumentsCount(), greaterThan(0));%0A    %7D%0A%0A    @Test%0A    @Category(CoreFeature.class)%0A    public void testDeleteKeyword() %7B%0A        final String keyword = %22asdfghjkl%22;%0A        keywordService.addBlacklistTerms(keyword);%0A        keywordService.deleteKeyword(keyword);%0A        assertThat(getElementFactory().getKeywordsPage(), not(containsText(keyword)));%0A    %7D%0A%7D%0A

Add core feature tests for keywords