@Test public void isNotAggregator() throws RSSException { this.mockUserRoles("provider", "other"); assertFalse(userManager.isAggregator()); }
@Test public void isAggregator() throws RSSException { this.mockUserRoles("aggregator", "other"); assertTrue(userManager.isAggregator()); }