/**
  * Test <code>createNameFilter(String)</code> with null name.
  *
  * <p>IllegalArgumentException should be thrown.
  */
 public void testCreateNameFilter_NullName() {
   try {
     NotificationTypeFilterBuilder.createNameFilter(null);
     fail("Should throw IllegalArgumentException for null name.");
   } catch (IllegalArgumentException e) {
     // pass
   }
 }
 /**
  * Test <code>createNotificationTypeIdFilter(long)</code> with negative id.
  *
  * <p>IllegalArgumentException should be thrown.
  */
 public void testCreateNotificationTypeIdFilter_NegativeId() {
   try {
     NotificationTypeFilterBuilder.createNotificationTypeIdFilter(-2L);
     fail("Should throw IllegalArgumentException for negative id.");
   } catch (IllegalArgumentException e) {
     // pass
   }
 }