@Test
public void createOrderExpressionNoPersistent()
{

    final Property property = new Property();
    property.setName( "valueTest" );
    property.setSimple( true );
    property.setPersisted( false );
    Assert.assertNull( JpaQueryUtils.createOrderExpression( Collections.singletonList( new Order( property, Direction.ASCENDING ) ), null ) );
}