@Test
public void testDocumentToIndexWrongField() {

  final ODocument document = new ODocument();
  document.field("fOne", "1t2");
  document.field("fTwo", "test");
  final Object result = compositeIndex.getDocumentValueToIndex(document);
  Assert.assertNull(result);
}