159160161162163164165166167168169
will(returnValue(null)); oneOf(feed2).setTimeAgo(null); } }); PluginAndFeedSubscriptionsResponse response = (PluginAndFeedSubscriptionsResponse) sut.execute(ac); assertEquals(feedSubs, response.getFeedSubcribers()); context.assertIsSatisfied(); }
118119120121122123124
feedSub.getFeed().setTimeAgo( dateFormatter.timeAgo(new Date(feedSub.getFeed().getLastUpdated() * MSINMIN))); } } return new PluginAndFeedSubscriptionsResponse(plugins, feedSubs); }