source: class SQLReportCodecTest {
  
  	private final DocumentFactory documentFactory;
  
  	@Test
  	public void testEncodeKey() throws Throwable {
  
target: 		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"));
  	}
  
  }