@Test
public void testEncodeKey() throws Throwable {

	final SQLMapCodec<Path, Report> codec = new SQLReportCodec(documentFactory);
	final TikaDocument tikaDocument = documentFactory.create("a", "path/to/file");
	final Map<String, Object> map = codec.encodeKey(tikaDocument);
	Assert.assertEquals("path/to/file", map.get("path"));
}