@Test
public void testTrackAppDownload() throws Exception {

    DownloadTracker downloadTracker = new DownloadTracker(mTracker);
    downloadTracker.trackOnce(new TrackMe(), new DownloadTracker.Extra.None());
    verify(mTracker).track(mCaptor.capture());
    checkNewAppDownload(mCaptor.getValue());
    // track only once
    downloadTracker.trackOnce(new TrackMe(), new DownloadTracker.Extra.None());
    verify(mTracker, times(1)).track(mCaptor.capture());
}