VastXmlManager { List<String> getImpressionTrackers() { List<String> impressionTrackers = XmlUtils.getStringDataAsList(mVastDoc, IMPRESSION_TRACKER); impressionTrackers.addAll(XmlUtils.getStringDataAsList(mVastDoc, MP_IMPRESSION_TRACKER)); return impressionTrackers; }    }
@Test public void getImpressionTrackers_shouldReturnTheCorrectValue() { List<String> trackers = mXmlManager.getImpressionTrackers(); assertThat(trackers.size()).isEqualTo(4); String tracker1 = trackers.get(0); String tracker2 = trackers.get(1); String tracker3 = trackers.get(2); String tracker4 = trackers.get(3); assertThat(tracker1).isEqualTo("http: assertThat(tracker2).isEqualTo("http: assertThat(tracker3).isEqualTo("http: assertThat(tracker4).isEqualTo("http: }