IdentityZoneModifiedEvent extends AbstractUaaEvent { public static IdentityZoneModifiedEvent identityZoneCreated(IdentityZone identityZone) { return new IdentityZoneModifiedEvent(identityZone, getContextAuthentication(), AuditEventType.IdentityZoneCreatedEvent, IdentityZoneHolder.getCurrentZoneId()); } IdentityZoneModifiedEvent(IdentityZone identityZone, Authentication authentication, AuditEventType type, String zoneId); @Override AuditEvent getAuditEvent(); static IdentityZoneModifiedEvent identityZoneCreated(IdentityZone identityZone); static IdentityZoneModifiedEvent identityZoneModified(IdentityZone identityZone); AuditEventType getEventType();  }
@Test public void identityZoneCreated() { evaluteZoneAuditData(IdentityZoneModifiedEvent.identityZoneCreated(zone)); }