title: How do I create configuration object in a unit test in my dropwizard application?
body: <p>We have a configuration class in our dropwizard application:</p>
  
  <pre><code>public class MyConfiguration extends Configuration
  </code></pre>
  
  <p>I need to create the real configuration object in my unit test by reading the yaml file. Any pointers would be useful?</p>
  
  <p>It looks like when the dropwizard app is started, the application will read the yaml configuration file and create MyConfiguration but I want a real (not mocked) configuration object while running a simple unit test.</p>
  
  <p>Thank you.</p>