title: Using multiple application.properties
body: <p>I want to have two application.properties files:<br>
  1. src/main/resources/application.properties<br>
  2. src/test/resources/application.properties<br>
  but I want that during test run it will use both files.<br>
  for instance: <br>
  In src/main/resources/application.properties:<br></p>
  
  <pre><code>a=b
  c=d
  </code></pre>
  
  <p>In src/test/resources/application.properties:<br></p>
  
  <pre><code>e=f
  </code></pre>
  
  <p>and during test run I will be able use all the properties I listed from both files.<br></p>
  
  <pre><code>@Value("${a}")
  private String a;
  @Value("${c}")
  private String c;
  @Value("${e}")
  private String e;
  </code></pre>
  
  <p>Is it possible? <br>
  If not - what is the best practice to do what I want?
  Thanks.</p>