@Test public void profileRecommendationStatsShouldParseCorrectly() throws Exception { ShopperProfile shopperProfile = parseJsonResourceFile("full_profile.json", ShopperProfile.class, gson); Profile profile = shopperProfile.getProfile(); RecommendationStats stats = profile.getRecommendationStats(); assertNotNull(stats); assertEquals(0, stats.getRki()); assertEquals(0, stats.getRkb()); assertEquals(0, stats.getRkp()); assertEquals(0, stats.getRkr()); assertEquals(0, stats.getRkc()); assertEquals(0, stats.getRkt()); assertEquals(0, stats.getRkn()); }
public Profile getProfile() { return profile; }
ShopperProfile { public Profile getProfile() { return profile; } }
ShopperProfile { public Profile getProfile() { return profile; }  }
ShopperProfile { public Profile getProfile() { return profile; }  Profile getProfile(); String getApiVersion(); @Override String toString(); }
ShopperProfile { public Profile getProfile() { return profile; }  Profile getProfile(); String getApiVersion(); @Override String toString();  }