class OSimpleKeyIndexDefinition extends ODocumentWrapperNoClass implements OIndexDefinition {

  public OType[] getTypes() {
    return keyTypes;
  }

}

class OSimpleKeyIndexDefinitionTest {

  private OSimpleKeyIndexDefinition simpleKeyIndexDefinition;

  @Test
  public void testGetKeyTypes() {

    Assert.assertEquals(simpleKeyIndexDefinition.getTypes(), new OType[] { OType.INTEGER, OType.STRING });
  }

}