Program: 109513
Project: 109513
Buggy source:
@Test public void testXmlAndJavaSearchParams() throws IOException {
  try (GraphContext context=factory.create()){
    ProjectModel pm=context.getFramed().addVertex(null,ProjectModel.class);
    pm.setName("String_Node_Str");
    FileModel inputPath=context.getFramed().addVertex(null,FileModel.class);
    inputPath.setFilePath("String_Node_Str");
    Path outputPath=Paths.get(FileUtils.getTempDirectory().toString(),"String_Node_Str" + UUID.randomUUID().toString());
    FileUtils.deleteDirectory(outputPath.toFile());
    Files.createDirectories(outputPath);
    inputPath.setProjectModel(pm);
    pm.setRootFileModel(inputPath);
    Predicate<WindupRuleProvider> predicate=new Predicate<WindupRuleProvider>(){
      @Override public boolean accept(      WindupRuleProvider provider){
        return (provider.getPhase() != ReportGeneration.class) && (provider.getPhase() != MigrationRules.class);
      }
    }
;
    WindupConfiguration windupConfiguration=new WindupConfiguration().setRuleProviderFilter(predicate).setGraphContext(context);
    windupConfiguration.setInputPath(Paths.get(inputPath.getFilePath()));
    windupConfiguration.setOutputDirectory(outputPath);
    processor.execute(windupConfiguration);
    GraphService<InlineHintModel> hintService=new GraphService<>(context,InlineHintModel.class);
    int count=0;
    for (    InlineHintModel model : hintService.findAll()) {
      String text=model.getHint();
      System.out.println("String_Node_Str" + text + "String_Node_Str"+ model);
      Assert.assertNotNull(text);
      Assert.assertEquals("String_Node_Str",text);
      count++;
    }
    Assert.assertEquals(1,count);
  }
 }

Fixed version (ground truth):
@Test public void testXmlAndJavaSearchParams() throws IOException {
  try (GraphContext context=factory.create()){
    ProjectModel pm=context.getFramed().addVertex(null,ProjectModel.class);
    pm.setName("String_Node_Str");
    FileModel inputPath=context.getFramed().addVertex(null,FileModel.class);
    inputPath.setFilePath("String_Node_Str");
    Path outputPath=Paths.get(FileUtils.getTempDirectory().toString(),"String_Node_Str" + UUID.randomUUID().toString());
    FileUtils.deleteDirectory(outputPath.toFile());
    Files.createDirectories(outputPath);
    inputPath.setProjectModel(pm);
    pm.setRootFileModel(inputPath);
    Predicate<WindupRuleProvider> predicate=new Predicate<WindupRuleProvider>(){
      @Override public boolean accept(      WindupRuleProvider provider){
        return (provider.getPhase() != ReportGenerationPhase.class) && (provider.getPhase() != MigrationRulesPhase.class);
      }
    }
;
    WindupConfiguration windupConfiguration=new WindupConfiguration().setRuleProviderFilter(predicate).setGraphContext(context);
    windupConfiguration.setInputPath(Paths.get(inputPath.getFilePath()));
    windupConfiguration.setOutputDirectory(outputPath);
    processor.execute(windupConfiguration);
    GraphService<InlineHintModel> hintService=new GraphService<>(context,InlineHintModel.class);
    int count=0;
    for (    InlineHintModel model : hintService.findAll()) {
      String text=model.getHint();
      System.out.println("String_Node_Str" + text + "String_Node_Str"+ model);
      Assert.assertNotNull(text);
      Assert.assertEquals("String_Node_Str",text);
      count++;
    }
    Assert.assertEquals(1,count);
  }
 }