}
@Test
public void testForCategoryBug() {
TechnicalPropertiesCatalogue catalogue = ConstraintsFactory.eINSTANCE.createTechnicalPropertiesCatalogue();
TechnicalPropertyCategory cat = ConstraintsFactory.eINSTANCE.createTechnicalPropertyCategory();
cat.setName("cat");
TechnicalProperty tp1 = ConstraintsFactory.eINSTANCE.createBooleanTechnicalProperty();
tp1.setName("foo");
TechnicalProperty tp2 = ConstraintsFactory.eINSTANCE.createBooleanTechnicalProperty();
tp2.setName("bar");
catalogue.getCatalogueProperties().add(cat);
cat.getEntries().add(tp1);
cat.getEntries().add(tp2);
NGramCheckCondition nGramCheckCondition = new NGramCheckCondition(
3, "cat", 0.8f, true, true);
NGramCheckEObjectCondition condition = new NGramCheckEObjectCondition(