- getDetailBy first item should resource loading
- getDetailBy should return loading and success when data is found in database
- getDetailBy should return loading and success when data is not found in database but found in network
- getDetailBy should return loading and error when data is not found in database and network
- getFavorite should return success when data is found in database
- getFavorite should return empty when data is not found in database
- setFavorite should change userEntity isFavorite true to userEntity isFavorite false
- setFavorite should change userEntity isFavorite false to userEntity isFavorite true
- searchBy should return success when data is found
- searchBy should return empty when data is null or empty
- getFavorite should return success when data is found
- getFavorite should return empty when data is not found
- getDetailBy should return success when data is found
- getDetailBy should return empty when data is not found
- insertUsers should insert data to database when list is not null
- insertUserDetail should insert data to database when user is not null
- favorite should change isFavorite to true and update to database
- unFavorite should change isFavorite to false and update to database
- given username and position searchBy should return Response Success
- given empty username searchBy should return Response Error
- given position = 0 should searchBy return Response Error
- given empty username getDetailBy should return Response Error
- given username getDetailBy return Response Success
- loadReturnsPageWhenOnSuccessfulLoadOfItemKeyedData