### Question:
LlamaHAServer extends LlamaAMServer implements ActiveStandbyElector.ActiveStandbyElectorCallback { @Override public void becomeStandby() { transitionToStandby(); } LlamaHAServer(); @Override void start(); @Override void stop(); @Override void becomeActive(); @Override void becomeStandby(); @Override void enterNeutralMode(); @Override void notifyFatalError(String s); @Override void fenceOldActive(byte[] bytes); synchronized boolean isActive();  }### Answer:
@Test public void testBecomeStandby() throws ServiceFailedException { server.becomeActive(); server.becomeStandby(); assertFalse("Server still active", server.isActive()); }