void checkEquals(
      final String user,
      final String password,
      final Path securityDir,
      final boolean enableAnonymousAccess) {
    checkEquals("user", this.user, user);
    checkEquals("password", this.password, password);
    checkEquals(
        "security dir",
        FileSystems.getDefault().getPath(this.securityDir.toAbsolutePath().toString()),
        FileSystems.getDefault().getPath(securityDir.toAbsolutePath().toString()));
    checkEquals("enableAnonymousAccess option", this.enableAnonymousAccess, enableAnonymousAccess);
  }
OPC UA Server builder for IoTDB to send data. The coding style referenced ExampleServer.java in
Eclipse Milo.
iotdb-core/datanode/src/main/java/org/apache/iotdb/db/pipe/connector/protocol/opcua/OpcUaServerBuilder.java