@Before public void setUp() { MockitoAnnotations.initMocks(this); reportDownloader = new ReportDownloader(adHocDownloadHelper); }
@Test public void testReportDownloadTimeoutSetter() throws Exception { ReportDownloader reportDownloader = new ReportDownloader(adWordsSession); assertEquals(180000, reportDownloader.getReportDownloadTimeout()); reportDownloader.setReportDownloadTimeout(42); assertEquals(42, reportDownloader.getReportDownloadTimeout()); } }