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

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