Package io.dropwizard.configuration.ConfigurationFactoryTest

Examples of io.dropwizard.configuration.ConfigurationFactoryTest.Example


    }
           
     @Test
     public void createDefaultFactory() throws Exception {
         ConfigurationFactory<Example> factory = factoryFactory.create(Example.class, validator, Jackson.newObjectMapper(), "dw");        
         final Example example = factory.build(validFile);
         assertThat(example.getName())
                 .isEqualTo("Coda Hale");
     }
View Full Code Here

TOP

Related Classes of io.dropwizard.configuration.ConfigurationFactoryTest.Example

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.