### Question:
OzoneManagerRatisServer { @VisibleForTesting public LifeCycle.State getServerState() { return server.getLifeCycleState(); } private  OzoneManagerRatisServer(ConfigurationSource conf,
      OzoneManager om,
      String raftGroupIdStr, RaftPeerId localRaftPeerId,
      InetSocketAddress addr, List<RaftPeer> raftPeers); OMResponse submitRequest(OMRequest omRequest); static OzoneManagerRatisServer newOMRatisServer(
      ConfigurationSource ozoneConf, OzoneManager omProtocol,
      OMNodeDetails omNodeDetails, List<OMNodeDetails> peerNodes); RaftGroup getRaftGroup(); @VisibleForTesting OzoneManagerStateMachine getOmStateMachine(); OzoneManager getOzoneManager(); void start(); void stop(); boolean isLeader(); Optional<RaftPeerId> getCachedLeaderPeerId(); void updateServerRole(); int getServerPort(); @VisibleForTesting LifeCycle.State getServerState(); @VisibleForTesting RaftPeerId getRaftPeerId(); static String getOMRatisDirectory(ConfigurationSource conf); static String getOMRatisSnapshotDirectory(ConfigurationSource conf); TermIndex getLastAppliedTermIndex();  }### Answer:
@Test public void testStartOMRatisServer() throws Exception { Assert.assertEquals("Ratis Server should be in running state", LifeCycle.State.RUNNING, omRatisServer.getServerState()); }