methods & test for app-dao, app-service, mock