SimpleSeedGenerator extends AbstractSeedGenerator { public void addKeyword(String keyword) { keywords.add(keyword); } SimpleSeedGenerator(
      Set<KeywordMatchType> matchTypes, CampaignConfiguration campaignConfiguration); void addKeyword(String keyword);  }
@Test public void checkCreateAllPossibilities() throws KeywordOptimizerException { CampaignConfiguration campaignSettings = CampaignConfiguration.builder().build(); SimpleSeedGenerator seedGenerator = new SimpleSeedGenerator( Sets.newHashSet( KeywordMatchType.BROAD, KeywordMatchType.EXACT, KeywordMatchType.PHRASE), campaignSettings); seedGenerator.addKeyword("plumbing"); seedGenerator.addKeyword("plumber"); KeywordCollection keywords = seedGenerator.generate(); Set<String> keywordTexts = keywords.getContainingKeywordTexts(); Set<KeywordMatchType> matchTypes = keywords.getContainingMatchTypes(); assertEquals(6, keywords.size()); assertEquals(2, keywordTexts.size()); assertEquals(3, matchTypes.size()); assertTrue(keywordTexts.contains("plumbing")); assertTrue(keywordTexts.contains("plumber")); assertFalse(keywordTexts.contains("pipes")); assertTrue(matchTypes.contains(KeywordMatchType.BROAD)); assertTrue(matchTypes.contains(KeywordMatchType.EXACT)); assertTrue(matchTypes.contains(KeywordMatchType.PHRASE)); }