コード例 #1
0
 @Test
 public void isNotSeller() throws RSSException {
   this.mockUserRoles("provider", "other");
   assertFalse(userManager.isSeller());
 }
コード例 #2
0
 @Test
 public void isSeller() throws RSSException {
   this.mockUserRoles("aggregator", "seller");
   assertTrue(userManager.isSeller());
 }