title: Overriding @Value in Integration Test
body: <p>For one of my Spring beans(say Application class), I'm fetching the value of a property(my.property.flag=true/false) from a properties file(prop.properties) using @Value annotation. That works perfectly fine.</p>
  
  <p>I need to write an integration test(say ApplicationIt class) where I need to test with both the values of the property i.e. for both true and false.</p>
  
  <p>In my properties file, the value of the property is set to true. Is it possible to set the value dynamically to false from my Integration test?</p>
  
  <p>For Example,</p>
  
  <p><strong>prop.properties:</strong></p>
  
  <pre><code>    my.property.flag=true
  </code></pre>
  
  <p><strong>Application class file:</strong></p>
  
  <pre><code>    @Component
      class Application {
          //This value is fetched from properties file
          //the value is set to true.
          @Value(${my.property.flag})
          private String isTrue;
          ......
          ..........
      }
  </code></pre>
  
  <p><strong>Integration Test:</strong></p>
  
  <pre><code>    class ApplicationIT {
          //how can I set the value of isTrue here to false?
      }
  </code></pre>