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