@Test
public void createOrderExpressionAlias()
{

    final Property property1 = new Property();
    property1.setName( "value1" );
    property1.setSimple( true );
    property1.setPersisted( true );
    Assert.assertEquals( "x.value1 asc", JpaQueryUtils.createOrderExpression( Collections.singletonList( new Order( property1, Direction.ASCENDING ) ), "x" ) );
}