package org.apereo.cas.audit;

import org.apereo.cas.audit.config.CasSupportJdbcAuditConfiguration;
import org.apereo.cas.audit.spi.BaseAuditConfigurationTests;
import org.apereo.cas.audit.spi.config.CasCoreAuditConfiguration;
import org.apereo.cas.configuration.CasConfigurationProperties;

import lombok.Getter;
import org.apereo.inspektr.audit.AuditTrailManager;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.boot.autoconfigure.aop.AopAutoConfiguration;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.cloud.autoconfigure.RefreshAutoConfiguration;
import org.springframework.test.context.TestPropertySource;

/**
 * This is {@link CasSupportJdbcAuditConfigurationTests}.
 *
 * @author Misagh Moayyed
 * @since 5.3.0
 */
@SpringBootTest(
    classes = {
        CasCoreAuditConfiguration.class,
        CasSupportJdbcAuditConfiguration.class,
        AopAutoConfiguration.class,
        RefreshAutoConfiguration.class
    })
@EnableConfigurationProperties(CasConfigurationProperties.class)
@TestPropertySource(properties = "cas.audit.jdbc.asynchronous=false")
@Getter
public class CasSupportJdbcAuditConfigurationTests extends BaseAuditConfigurationTests {

    @Autowired
    @Qualifier("jdbcAuditTrailManager")
    private AuditTrailManager auditTrailManager;
}

@@ -961,21 +961,16 @@
 ootTest(
-%0A    
 classes 
@@ -973,20 +973,16 @@
 ses = %7B%0A
-    
     CasC
@@ -1006,28 +1006,24 @@
 tion.class,%0A
-    
     CasSuppo
@@ -1050,28 +1050,24 @@
 tion.class,%0A
-    
     AopAutoC
@@ -1090,20 +1090,16 @@
 ss,%0A    
-  
-  
 RefreshA
@@ -1121,20 +1121,16 @@
 n.class%0A
-    
 %7D)%0A@Enab

clean up lambda expressions