IdentityProviderModifiedEvent extends AbstractUaaEvent { public static IdentityProviderModifiedEvent identityProviderCreated(IdentityProvider identityProvider, String zoneId) { return new IdentityProviderModifiedEvent(identityProvider, getContextAuthentication(), AuditEventType.IdentityProviderCreatedEvent, zoneId); } IdentityProviderModifiedEvent(IdentityProvider identityProvider, Authentication authentication, AuditEventType type, String zoneId); @Override AuditEvent getAuditEvent(); static IdentityProviderModifiedEvent identityProviderCreated(IdentityProvider identityProvider, String zoneId); static IdentityProviderModifiedEvent identityProviderModified(IdentityProvider identityProvider, String zoneId);  }
@Test void identityProviderCreated() { IdentityProviderModifiedEvent identityProviderCreatedEvent = IdentityProviderModifiedEvent.identityProviderCreated(provider, currentIdentityZoneId); evaluateEventString(identityProviderCreatedEvent, provider); }