Package org.mapstruct.ap.test.collection.adder.source

Examples of org.mapstruct.ap.test.collection.adder.source.Foo


        Foo.class
    } )
    public void testMissingImport() throws DogException {

        Source2 source = new Source2();
        source.setAttributes( Arrays.asList( new Foo() ) );

        Target2 target = Source2Target2Mapper.INSTANCE.toTarget( source );
        assertThat( target ).isNotNull();
        assertThat( target.getAttributes().size() ).isEqualTo( 1 );
    }
View Full Code Here

TOP

Related Classes of org.mapstruct.ap.test.collection.adder.source.Foo

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.