We have a configuration class in our dropwizard application:
public class MyConfiguration extends Configuration
I need to create the real configuration object in my unit test by reading the yaml file. Any pointers would be useful?
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.
Thank you.