@Test(dependsOnMethods = { "shouldLogin" })
public void shouldDownload() throws Exception {
final String packageName = "com.mobulasoft.criticker";
DetailsResponse details = service.details(packageName);
AppDetails appDetails = details.getDocV2().getDetails().getAppDetails();
Offer offer = details.getDocV2().getOffer(0);
int versionCode = appDetails.getVersionCode();
long installationSize = appDetails.getInstallationSize();
int offerType = offer.getOfferType();
boolean checkoutRequired = offer.getCheckoutFlowRequired();
// paid application...ignore
if (checkoutRequired) {
return;
}