@Test public void getAdvertiserTest() { RTBRequestWrapper requestWrapper = new RTBRequestWrapper(bidRequest); requestWrapper.setContext(exchanger, advertisers, requestTime, offerTime); RTBAdvertiser advertiser=requestWrapper.getAdvertiser("My Advertiser"); assertTrue("advertiser name not match",advertiser.getName().equals("addidas")); assertTrue("advertiser Landing page not match",advertiser.getLandingPage().equals("index.htm")); assertTrue("advertiser NURL not match",advertiser.getNurl().equals("http assertNotNull("Seat should not be null",advertiser.getSeats()); assertNotNull("categories should not be null",advertiser.getCategories()); }
public RTBAdvertiser getAdvertiser(String landingPage) { return advertisers.get(landingPage); }
RTBRequestWrapper extends BidRequest { public RTBAdvertiser getAdvertiser(String landingPage) { return advertisers.get(landingPage); } }
RTBRequestWrapper extends BidRequest { public RTBAdvertiser getAdvertiser(String landingPage) { return advertisers.get(landingPage); } RTBRequestWrapper();  RTBRequestWrapper(BidRequest request); }
RTBRequestWrapper extends BidRequest { public RTBAdvertiser getAdvertiser(String landingPage) { return advertisers.get(landingPage); } RTBRequestWrapper();  RTBRequestWrapper(BidRequest request); void setContext(RTBExchange exchange, Map<String, RTBAdvertiser> advertisers,
							long defaultRequestTO, long defaultOfferTO); BidRequest getRequest(); Map<String, String> getUnblockedSeats(String sspName); String getSSPName(); RTBAdvertiser getAdvertiser(String landingPage); void setRequestTO(long requestTO); long getRequestTO(); long getOfferTO(); void setOfferTimerActive(boolean trueOrFalse); boolean isOfferTimerActive(); }
RTBRequestWrapper extends BidRequest { public RTBAdvertiser getAdvertiser(String landingPage) { return advertisers.get(landingPage); } RTBRequestWrapper();  RTBRequestWrapper(BidRequest request); void setContext(RTBExchange exchange, Map<String, RTBAdvertiser> advertisers,
							long defaultRequestTO, long defaultOfferTO); BidRequest getRequest(); Map<String, String> getUnblockedSeats(String sspName); String getSSPName(); RTBAdvertiser getAdvertiser(String landingPage); void setRequestTO(long requestTO); long getRequestTO(); long getOfferTO(); void setOfferTimerActive(boolean trueOrFalse); boolean isOfferTimerActive();  }