use of com.querydsl.core.types.dsl.StringPath in project spring-data-mongodb by spring-projects.
the class SpringDataMongodbSerializerUnitTests method uses_idAsKeyForIdProperty.
@Test
public void uses_idAsKeyForIdProperty() {
StringPath path = QPerson.person.id;
assertThat(serializer.getKeyForPath(path, path.getMetadata()), is("_id"));
}
Aggregations