Package org.constretto.internal.provider.helper

Examples of org.constretto.internal.provider.helper.ContagiousConfigurationMethod


public class DefaultValuesInAnnotationsTest {

    @Test
    public void defaultValuesShouldNotBeContagious() {
        ConstrettoConfiguration configuration = new ConstrettoBuilder().getConfiguration();
        ContagiousConfigurationMethod testObject = configuration.as(ContagiousConfigurationMethod.class);
        assertEquals("default-value", testObject.valueWithDefault());
        assertEquals(null, testObject.missingValue());
        assertEquals(null, testObject.otherMissingValue());
    }
View Full Code Here

TOP

Related Classes of org.constretto.internal.provider.helper.ContagiousConfigurationMethod

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.