    @Test
    public void testRunOneIteration() throws Exception {

        Map<String, Date> inActiveDevices = new HashMap<String, Date>();
        inActiveDevices.put("devicetoken1", new Date());
        inActiveDevices.put("devicetoken2", new Date());
        inActiveDevices.put("devicetoken3", new Date());
        inActiveDevices.put("devicetoken4", new Date());

        when(apnsService.getInactiveDevices()).thenReturn(inActiveDevices);

        WebPushUser webPushUser = new WebPushUserBuilder()
                .setUserId("USERID")
                .setActive(true)
                .setDeviceToken("DEVICETOKEN1")
                .setIsActiveTimestamp(System.currentTimeMillis() + 86400000)
                .setWebsitePushId("websitepushId")
                .build();

        when(webPushStore.getWebPushUserMostRecentlyUpdatedByDeviceToken(anyString())).thenReturn(Optional.of(webPushUser));

       // when(webPushStore.updateWebPushUser(webPushUser)).

        apnsFeedbackService.runOneIteration();

    }