dimas-b commented on code in PR #3468:
URL: https://github.com/apache/polaris/pull/3468#discussion_r2709777716


##########
runtime/service/src/testFixtures/java/org/apache/polaris/service/events/listeners/TestPolarisEventListener.java:
##########
@@ -43,4 +43,17 @@ public PolarisEvent getLatest(PolarisEventType type) {
     }
     return latest;
   }
+
+  /**
+   * Returns the latest event of the specified type, or null if no such event 
has been recorded.
+   * This is useful for tests that need to verify no event was emitted.
+   */
+  public PolarisEvent getLatestOrNull(PolarisEventType type) {

Review Comment:
   nit: is it still used?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to