Examples of CurrencyExchangeRateMapUpdater


Examples of com.wesabe.api.accounts.dao.CurrencyExchangeRateMapUpdater

   
    @Test
    public void itSchedulesItselfToRunEvery12HoursWithA12HourDelay() throws Exception {
      this.executorService = mock(ScheduledExecutorService.class);
     
      final CurrencyExchangeRateMapUpdater updater = new CurrencyExchangeRateMapUpdater(null, null, executorService, null);
     
      verify(executorService).scheduleAtFixedRate(updater, 12, 12, TimeUnit.HOURS);
    }
View Full Code Here

Examples of com.wesabe.api.accounts.dao.CurrencyExchangeRateMapUpdater

     
      this.exchangeRateMap = mock(CurrencyExchangeRateMap.class);
     
      this.executorService = mock(ScheduledExecutorService.class);
     
      this.updater = new CurrencyExchangeRateMapUpdater(sessionFactory, exchangeRateMap, executorService, logger);
     
      DateTimeUtils.setCurrentMillisFixed(new DateTime(2009, 5, 20, 23, 43, 12, 0).getMillis());
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.