private void configureContext(Context context) {
   Set<Model> models = AnnotationUtils.getAnnotations(context.getClass(), Model.class);
   GraphWalker annotation = context.getClass().getAnnotation(GraphWalker.class);
   if (!models.isEmpty()) {
     Path path = Paths.get(models.iterator().next().file());
     ContextFactoryScanner.get(reflections, path).create(path, context);
   }
   if (!"".equals(annotation.value())) {
     context.setPathGenerator(GeneratorFactory.parse(annotation.value()));
   } else {
     context.setPathGenerator(PathGeneratorFactory.createPathGenerator(annotation));
   }
   if (!"".equals(annotation.start())) {
     context.setNextElement(getElement(context.getModel(), annotation.start()));
   }
 }
 private boolean isTestIncluded(GraphWalker annotation, String name) {
   boolean belongsToGroup = false;
   for (String group : annotation.groups()) {
     for (String definedGroups : configuration.getGroups()) {
       if (SelectorUtils.match(definedGroups, group)) {
         belongsToGroup = true;
         break;
       }
     }
   }
   if (belongsToGroup) {
     for (String exclude : configuration.getExcludes()) {
       if (SelectorUtils.match(exclude, name)) {
         return false;
       }
     }
     for (String include : configuration.getIncludes()) {
       if (SelectorUtils.match(include, name)) {
         return true;
       }
     }
   }
   return false;
 }