code: public DocumentDbTemplate createDocumentDbTemplate(final DocumentDbFactory documentDbFactory,
                                                         final BaseCosmosDbProperties properties) {
          val documentDbMappingContext = createDocumentDbMappingContext();
          val mappingDocumentDbConverter = createMappingDocumentDbConverter(documentDbMappingContext);
          return new DocumentDbTemplate(documentDbFactory, mappingDocumentDbConverter, properties.getDatabase());
      }
docs: Create document db template document db template.
  
  @param documentDbFactory the document db factory
  @param properties        the properties
  @return the document db template