Goal g1 = createGoal(gss, 1);
Principle p1 = createPrinciple(gss, 1);
Pattern si1 = createPattern(gss, 1);
createImpact(gss, p1, g1, 1);
createImpact(gss, si1, p1, 1);
Pattern si2 = createPattern(gss, 2);
createIsA(gss, si2, si1);
gssQuery.setIncludeAll(true);
cacheManager = new CacheManager(gss, queryResultSet, accessLayer);
cacheManager.initCache();
new ApplicableElementsSelector(gssQuery, queryResultSet, accessLayer,
cacheManager, null, false).runWithoutUnicaseCommand();
Pattern si3 = createPattern(gss, 3);
createIsA(gss, si3, si1);
cacheManager = new CacheManager(gss, queryResultSet, accessLayer);
cacheManager.initCache();