use of com.querydsl.codegen.utils.model.Type in project querydsl by querydsl.
the class PropertyTest method escapedName.
@Test
public void escapedName() {
Type typeModel = new SimpleType(TypeCategory.ENTITY, "com.querydsl.DomainClass", "com.querydsl", "DomainClass", false, false);
EntityType type = new EntityType(typeModel);
Property property = new Property(type, "boolean", type, Collections.<String>emptyList());
assertEquals("boolean$", property.getEscapedName());
}
Aggregations