Package br.com.six2six.fixturefactory.model

Examples of br.com.six2six.fixturefactory.model.RoutePlanner


        assertNotNull(route.getCities().get(0).getName());
    }
   
    @Test
    public void shouldWorkWhenChainingPropertiesUsingRelations() {
        RoutePlanner routePlanner = Fixture.from(RoutePlanner.class).gimme("chainedRoutePlanner");
        assertThat(routePlanner.getRoute().getId().getValue(), is(either(equalTo(3L)).or(equalTo(4L))));
        assertThat(routePlanner.getRoute().getId().getSeq(), is(either(equalTo(300L)).or(equalTo(400L))));
        assertNotNull(routePlanner.getRoute().getCities().get(0).getName());
    }
View Full Code Here

TOP

Related Classes of br.com.six2six.fixturefactory.model.RoutePlanner

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.