@Test
public void testLastScreenUrl() {

    Tracker tracker = new Tracker(mMatomo, mTrackerBuilder);
    tracker.track(new TrackMe());
    verify(mDispatcher).submit(mCaptor.capture());
    assertEquals("http://this.is.our.package/", mCaptor.getValue().get(QueryParams.URL_PATH));
    tracker.track(new TrackMe().set(QueryParams.URL_PATH, "http://some.thing.com/foo/bar"));
    verify(mDispatcher, times(2)).submit(mCaptor.capture());
    assertEquals("http://some.thing.com/foo/bar", mCaptor.getValue().get(QueryParams.URL_PATH));
    tracker.track(new TrackMe().set(QueryParams.URL_PATH, "http://some.other/thing"));
    verify(mDispatcher, times(3)).submit(mCaptor.capture());
    assertEquals("http://some.other/thing", mCaptor.getValue().get(QueryParams.URL_PATH));
    tracker.track(new TrackMe());
    verify(mDispatcher, times(4)).submit(mCaptor.capture());
    assertEquals("http://some.other/thing", mCaptor.getValue().get(QueryParams.URL_PATH));
    tracker.track(new TrackMe().set(QueryParams.URL_PATH, "thang"));
    verify(mDispatcher, times(5)).submit(mCaptor.capture());
    assertEquals("http://this.is.our.package/thang", mCaptor.getValue().get(QueryParams.URL_PATH));
}