@Test public void getQueueSecurity() { getInst().getQueue(); Mockito.verify(security).checkPermission(Hudson.ADMINISTER); }
public Queue getQueue() { this.security.checkPermission(Hudson.ADMINISTER); return getHudson().getQueue(); }
QueueServiceImpl extends ServiceSupport implements QueueService { public Queue getQueue() { this.security.checkPermission(Hudson.ADMINISTER); return getHudson().getQueue(); } }
QueueServiceImpl extends ServiceSupport implements QueueService { public Queue getQueue() { this.security.checkPermission(Hudson.ADMINISTER); return getHudson().getQueue(); } @Inject  QueueServiceImpl(final SecurityService securityService); }
QueueServiceImpl extends ServiceSupport implements QueueService { public Queue getQueue() { this.security.checkPermission(Hudson.ADMINISTER); return getHudson().getQueue(); } @Inject  QueueServiceImpl(final SecurityService securityService); Queue getQueue(); }
QueueServiceImpl extends ServiceSupport implements QueueService { public Queue getQueue() { this.security.checkPermission(Hudson.ADMINISTER); return getHudson().getQueue(); } @Inject  QueueServiceImpl(final SecurityService securityService); Queue getQueue();  }