Program: 47319
Project: 47319
Buggy source:
@Test public void testExtractFromPdf() throws IOException {
  Doc doc=extractFromFileExtension("String_Node_Str");
  assertThat(doc.getContent(),containsString("String_Node_Str"));
  assertThat(doc.getFile().getContentType(),is("String_Node_Str"));
  assertThat(doc.getMeta().getAuthor(),is("String_Node_Str"));
  assertThat(doc.getMeta().getDate(),is(LocalDateTime.of(2016,7,7,8,37,42)));
  assertThat(doc.getMeta().getKeywords(),containsInAnyOrder("String_Node_Str","String_Node_Str"));
  assertThat(doc.getMeta().getTitle(),is("String_Node_Str"));
  Map<String,String> raw=doc.getMeta().getRaw();
  assertThat(raw,hasEntry("String_Node_Str","String_Node_Str"));
  assertThat(raw,hasEntry("String_Node_Str","String_Node_Str"));
  assertThat(raw,hasEntry("String_Node_Str","String_Node_Str"));
  assertThat(raw,hasEntry("String_Node_Str","String_Node_Str"));
  assertThat(raw,hasEntry("String_Node_Str","String_Node_Str"));
  assertThat(raw,hasEntry("String_Node_Str","String_Node_Str"));
  assertThat(raw,hasEntry("String_Node_Str","String_Node_Str"));
  assertThat(raw,hasEntry("String_Node_Str","String_Node_Str"));
  assertThat(raw,hasEntry("String_Node_Str","String_Node_Str"));
  assertThat(raw,hasEntry("String_Node_Str","String_Node_Str"));
  assertThat(raw,hasEntry("String_Node_Str","String_Node_Str"));
  assertThat(raw,hasEntry("String_Node_Str","String_Node_Str"));
  assertThat(raw,hasEntry("String_Node_Str","String_Node_Str"));
  assertThat(raw,hasEntry("String_Node_Str","String_Node_Str"));
  assertThat(raw,hasEntry("String_Node_Str","String_Node_Str"));
  assertThat(raw,hasEntry("String_Node_Str","String_Node_Str"));
  assertThat(raw,hasEntry("String_Node_Str","String_Node_Str"));
  assertThat(raw,hasEntry("String_Node_Str","String_Node_Str"));
  assertThat(raw,hasEntry("String_Node_Str","String_Node_Str"));
  assertThat(raw,hasEntry("String_Node_Str","String_Node_Str"));
  assertThat(raw,hasEntry("String_Node_Str","String_Node_Str"));
  assertThat(raw,hasEntry("String_Node_Str","String_Node_Str"));
  assertThat(raw,hasEntry("String_Node_Str","String_Node_Str"));
  assertThat(raw,hasEntry("String_Node_Str","String_Node_Str"));
  assertThat(raw,hasEntry("String_Node_Str","String_Node_Str"));
  assertThat(raw,hasEntry("String_Node_Str","String_Node_Str"));
  assertThat(raw,hasEntry(is("String_Node_Str"),containsString("String_Node_Str")));
  assertThat(raw,hasEntry("String_Node_Str","String_Node_Str"));
  assertThat(raw,hasEntry("String_Node_Str","String_Node_Str"));
  assertThat(raw,hasEntry("String_Node_Str","String_Node_Str"));
  assertThat(raw,hasEntry("String_Node_Str","String_Node_Str"));
  assertThat(raw,hasEntry("String_Node_Str","String_Node_Str"));
  assertThat(raw,hasEntry("String_Node_Str","String_Node_Str"));
  assertThat(raw,hasEntry("String_Node_Str","String_Node_Str"));
  assertThat(raw,hasEntry("String_Node_Str","String_Node_Str"));
  assertThat(raw,hasEntry("String_Node_Str","String_Node_Str"));
}

Fixed version (ground truth):
@Test public void testExtractFromPdf() throws IOException {
  Doc doc=extractFromFileExtension("String_Node_Str");
  assertThat(doc.getContent(),containsString("String_Node_Str"));
  assertThat(doc.getFile().getContentType(),is("String_Node_Str"));
  assertThat(doc.getMeta().getAuthor(),is("String_Node_Str"));
  assertThat(doc.getMeta().getDate(),is(localDateTimeToDate(LocalDateTime.of(2016,7,7,8,37,42))));
  assertThat(doc.getMeta().getKeywords(),containsInAnyOrder("String_Node_Str","String_Node_Str"));
  assertThat(doc.getMeta().getTitle(),is("String_Node_Str"));
  Map<String,String> raw=doc.getMeta().getRaw();
  assertThat(raw,hasEntry("String_Node_Str","String_Node_Str"));
  assertThat(raw,hasEntry("String_Node_Str","String_Node_Str"));
  assertThat(raw,hasEntry("String_Node_Str","String_Node_Str"));
  assertThat(raw,hasEntry("String_Node_Str","String_Node_Str"));
  assertThat(raw,hasEntry("String_Node_Str","String_Node_Str"));
  assertThat(raw,hasEntry("String_Node_Str","String_Node_Str"));
  assertThat(raw,hasEntry("String_Node_Str","String_Node_Str"));
  assertThat(raw,hasEntry("String_Node_Str","String_Node_Str"));
  assertThat(raw,hasEntry("String_Node_Str","String_Node_Str"));
  assertThat(raw,hasEntry("String_Node_Str","String_Node_Str"));
  assertThat(raw,hasEntry("String_Node_Str","String_Node_Str"));
  assertThat(raw,hasEntry("String_Node_Str","String_Node_Str"));
  assertThat(raw,hasEntry("String_Node_Str","String_Node_Str"));
  assertThat(raw,hasEntry("String_Node_Str","String_Node_Str"));
  assertThat(raw,hasEntry("String_Node_Str","String_Node_Str"));
  assertThat(raw,hasEntry("String_Node_Str","String_Node_Str"));
  assertThat(raw,hasEntry("String_Node_Str","String_Node_Str"));
  assertThat(raw,hasEntry("String_Node_Str","String_Node_Str"));
  assertThat(raw,hasEntry("String_Node_Str","String_Node_Str"));
  assertThat(raw,hasEntry("String_Node_Str","String_Node_Str"));
  assertThat(raw,hasEntry("String_Node_Str","String_Node_Str"));
  assertThat(raw,hasEntry("String_Node_Str","String_Node_Str"));
  assertThat(raw,hasEntry("String_Node_Str","String_Node_Str"));
  assertThat(raw,hasEntry("String_Node_Str","String_Node_Str"));
  assertThat(raw,hasEntry("String_Node_Str","String_Node_Str"));
  assertThat(raw,hasEntry("String_Node_Str","String_Node_Str"));
  assertThat(raw,hasEntry(is("String_Node_Str"),containsString("String_Node_Str")));
  assertThat(raw,hasEntry("String_Node_Str","String_Node_Str"));
  assertThat(raw,hasEntry("String_Node_Str","String_Node_Str"));
  assertThat(raw,hasEntry("String_Node_Str","String_Node_Str"));
  assertThat(raw,hasEntry("String_Node_Str","String_Node_Str"));
  assertThat(raw,hasEntry("String_Node_Str","String_Node_Str"));
  assertThat(raw,hasEntry("String_Node_Str","String_Node_Str"));
  assertThat(raw,hasEntry("String_Node_Str","String_Node_Str"));
  assertThat(raw,hasEntry("String_Node_Str","String_Node_Str"));
  assertThat(raw,hasEntry("String_Node_Str","String_Node_Str"));
}