Program: 47320
Project: 47320
Buggy source:
@Test public void testExtractFromDoc() 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,0)));
  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("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"));
}

Fixed version (ground truth):
@Test public void testExtractFromDoc() 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,0))));
  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("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"));
}