### Question:
LlamaHAServer extends LlamaAMServer implements ActiveStandbyElector.ActiveStandbyElectorCallback { @Override public void becomeActive() throws ServiceFailedException { transitionToActive(); } 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 testBecomeActive() throws ServiceFailedException { server.becomeActive(); assertTrue("Server still not active", server.isActive()); }