Sort extends Column { public String getOrder() { if ("desc".equalsIgnoreCase(order)) { return order; } else { return order = "asc"; } } Sort();  Sort(String column); String getOrder(); void asc(); void desc();  }
@Test public void test(){ Sort sort=new Sort(); sort.setOrder("-- delete "); Assert.assertEquals(sort.getOrder(),"asc"); }