Program: 47322
Project: 47322
Buggy source:
@Test public void testExtractFromDocx() 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,36,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"));
  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 testExtractFromDocx() 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,36,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"));
  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"));
}