content: package com.bol.system.autoconfig;
  
  import com.bol.config.EncryptAutoConfiguration;
  import com.bol.crypt.CryptVault;
  import com.bol.secure.AbstractEncryptionEventListener;
  import org.junit.Test;
  import org.junit.runner.RunWith;
  import org.springframework.beans.factory.annotation.Autowired;
  import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
  import org.springframework.boot.test.context.SpringBootTest;
  import org.springframework.test.context.ActiveProfiles;
  import org.springframework.test.context.junit4.SpringRunner;
  
  import static org.assertj.core.api.Assertions.assertThat;
  
  @ActiveProfiles("autoconfig-full")
  @RunWith(SpringRunner.class)
  @EnableAutoConfiguration
  @SpringBootTest(classes = {EncryptionConfiguredFullTest.class, EncryptAutoConfiguration.class})
  public class EncryptionConfiguredFullTest {
  
      @Autowired(required = false) CryptVault cryptVault;
      @Autowired(required = false) AbstractEncryptionEventListener eventListener;
  
      @Test
      public void sanityTest() {
          assertThat(cryptVault).isNotNull();
          assertThat(eventListener).isNotNull();
      }
  }
  