### Question:
FifoScheduler implements ResourceScheduler, Configurable { @Override public QueueInfo getQueueInfo(String queueName, boolean includeChildQueues, boolean recursive) { return DEFAULT_QUEUE.getQueueInfo(false, false); }  @Override synchronized void setConf(Configuration conf); @Override synchronized Configuration getConf(); @Override Resource getMinimumResourceCapability(); @Override int getNumClusterNodes(); @Override Resource getMaximumResourceCapability(); @Override synchronized void reinitialize(Configuration conf, RMContext rmContext); @Override Allocation allocate(
      ApplicationAttemptId applicationAttemptId, List<ResourceRequest> ask,
      List<ContainerId> release); @Override SchedulerAppReport getSchedulerAppInfo(
      ApplicationAttemptId applicationAttemptId); @Override void handle(SchedulerEvent event); @Override QueueInfo getQueueInfo(String queueName,
      boolean includeChildQueues, boolean recursive); @Override List<QueueUserACLInfo> getQueueUserAclInfo(); @Override void recover(RMState state); @Override synchronized SchedulerNodeReport getNodeReport(NodeId nodeId); @Override QueueMetrics getRootQueueMetrics();  }### Answer:
@Test public void testFifoSchedulerCapacityWhenNoNMs() { FifoScheduler scheduler = new FifoScheduler(); QueueInfo queueInfo = scheduler.getQueueInfo(null, false, false); Assert.assertEquals(0.0f, queueInfo.getCurrentCapacity()); }