ServiceProviderModifiedEvent extends AbstractUaaEvent { public static ServiceProviderModifiedEvent serviceProviderCreated(SamlServiceProvider serviceProvider) { return new ServiceProviderModifiedEvent(serviceProvider, getContextAuthentication(), AuditEventType.ServiceProviderCreatedEvent, IdentityZoneHolder.getCurrentZoneId()); } ServiceProviderModifiedEvent(SamlServiceProvider serviceProvider, Authentication authentication, AuditEventType type, String zoneId); @Override AuditEvent getAuditEvent(); static ServiceProviderModifiedEvent serviceProviderCreated(SamlServiceProvider serviceProvider); static ServiceProviderModifiedEvent serviceProviderModified(SamlServiceProvider serviceProvider);  }
@Test public void serviceProviderCreated() { evaludateAuditEventData(ServiceProviderModifiedEvent.serviceProviderCreated(provider)); }