Package org.jsonschema2pojo

Examples of org.jsonschema2pojo.NoopAnnotator


    @Test
    public void generationConfigIsReturned() {

        GenerationConfig mockGenerationConfig = mock(GenerationConfig.class);

        RuleFactory ruleFactory = new RuleFactory(mockGenerationConfig, new NoopAnnotator(), new SchemaStore());

        assertThat(ruleFactory.getGenerationConfig(), is(sameInstance(mockGenerationConfig)));

    }
View Full Code Here


    @Test
    public void schemaStoreIsReturned() {

        SchemaStore mockSchemaStore = mock(SchemaStore.class);

        RuleFactory ruleFactory = new RuleFactory(new DefaultGenerationConfig(), new NoopAnnotator(), mockSchemaStore);

        assertThat(ruleFactory.getSchemaStore(), is(sameInstance(mockSchemaStore)));

    }
View Full Code Here

TOP

Related Classes of org.jsonschema2pojo.NoopAnnotator

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.