@Test
  public void testFailToPublishMessage() throws Exception {
    helixNotifier = new HelixNotifier(new MockHelixPropertyStore<ZNRecord>(true, false));
    helixNotifier.publish(refTopics.get(0), refMessages.get(0));
  }
Tests when publishing a message through {@link HelixNotifier} fails, it will not throw exception or fail the
caller's thread.
@throws Exception Any unexpected exception.
ambry-commons/src/test/java/com/github/ambry/commons/HelixNotifierTest.java