@Override
  public NioServer getNioServer() {
    return new MockNioServer(isFaulty);
  }
Returns a new instance of {@link MockNioServer}.
@return a new instance of {@link MockNioServer}.
ambry-api/src/test/java/com/github/ambry/rest/MockNioServerFactory.java