@Test(expected = TDPException.class)
public void invalidSortPropertyEditor() {

    PropertyEditor sortPropertyEditor = SortAndOrderHelper.getSortPropertyEditor();
    sortPropertyEditor.setAsText("invalid");
}