### Question:
APIContractLlamaAM extends LlamaAM { @Override public boolean isRunning() { return llamaAM.isRunning(); } APIContractLlamaAM(LlamaAM llamaAM); @Override void setMetricRegistry(MetricRegistry metricRegistry); @Override Configuration getConf(); @Override synchronized void start(); @Override synchronized void stop(); @Override boolean isRunning(); @Override List<NodeInfo> getNodes(); @Override void emptyCacheForQueue(String queue); @Override void addListener(LlamaAMListener listener); @Override void removeListener(LlamaAMListener listener); @Override void reserve(UUID reservationId, Reservation reservation); @Override void expand(UUID expansionId, Expansion expansion); @Override PlacedReservation getReservation(UUID reservationId); @Override PlacedReservation releaseReservation(UUID handle, UUID reservationId,
      boolean doNotCache); @Override List<PlacedReservation> releaseReservationsForHandle(UUID handle,
      boolean doNotCache); @Override List<PlacedReservation> releaseReservationsForQueue(
      String queue, boolean doNotCache);  }### Answer:
@Test public void testIsRunning() throws Exception { LlamaAM am = createLlamaAM(); try { am.start(); Assert.assertTrue(am.isRunning()); } finally { am.stop(); } }