### Question:
OzoneManagerRatisServer { public RaftGroup getRaftGroup() { return this.raftGroup; } 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 verifyRaftGroupIdGenerationWithDefaultOmServiceId() throws Exception { UUID uuid = UUID.nameUUIDFromBytes(OzoneConsts.OM_SERVICE_ID_DEFAULT .getBytes()); RaftGroupId raftGroupId = omRatisServer.getRaftGroup().getGroupId(); Assert.assertEquals(uuid, raftGroupId.getUuid()); Assert.assertEquals(raftGroupId.toByteString().size(), 16); }