### Question:
DynamoSchema { public TypeElement getDocumentElement() { return (TypeElement) document.getElement(); }  TypeElement getDocumentElement(); DynamoIndex getTableIndex(); Set<DynamoIndex> getLocalSecondaryIndexes(); boolean hasLocalSecondaryIndexes(); Set<DynamoIndex> getGlobalSecondaryIndexes(); boolean hasGlobalSecondaryIndexes();  }### Answer:
@Test void getDocumentElement_onlyUseCase_returnsDocumentElement() { DynamoSchema schema = schema() .document(DocumentDynamoAttribute.builder() .element(typeElementMock) .build()) .build(); TypeElement documentElement = schema.getDocumentElement(); assertThat(documentElement).isEqualTo(typeElementMock); }