### Question:
APIActivity extends AbstractAPIActivity<ActivityItem> { @Override public String defineDefaultSearchOrder() { return ActivityInstanceSearchDescriptor.STATE_NAME + ISearchDirection.SORT_ORDER_ASCENDING; }  @Override String defineDefaultSearchOrder();  }### Answer:
@Test public void should_have_default_search_order() throws Exception { final APIActivity apiActivity = new APIActivity(); final String defineDefaultSearchOrder = apiActivity.defineDefaultSearchOrder(); assertThat(defineDefaultSearchOrder).as("sould have a default search order").isEqualTo("state ASC"); }