*/
@Test
public void testAccountHistoryListHandlerDataProvider() throws Exception {
final IAccountService accountService = getEntityServiceFactory().instance(IAccountService.class);
Account account = stubValidAccount(false);
account = accountService.persist(account);
final IListingDataProvider dataProvider = accountService.getAccountHistoryDataProvider();
final Criteria<AccountHistory> criteria = new Criteria<AccountHistory>(AccountHistory.class);
criteria.getPrimaryGroup().addCriterion("account", new PrimaryKey<Account>(Account.class, account.getId()));
final Sorting sorting = new Sorting("transDate");
final IListHandler<SearchResult<?>> lh =
ListHandlerFactory.create(criteria, sorting, ListHandlerType.PAGE, dataProvider);