Package br.com.six2six.fixturefactory.model

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


        assertNotNull(routePlanner.getRoute().getCities().get(0).getName());
    }

    @Test
    public void shouldWorkWithInheritance() {
        Child child = Fixture.from(Child.class).gimme("valid");
      assertThat(child.getParentAttribute().getValue().length(), is(8));
      assertThat(child.getChildAttribute().length(), is(16));
    }
View Full Code Here


      assertThat(child.getChildAttribute().length(), is(16));
    }
   
    @Test
    public void shouldWorkWhenChainingInheritedProperty() {
        Child child = Fixture.from(Child.class).gimme("chained");
        assertThat(child.getParentAttribute().getValue().length(), is(8));
        assertThat(child.getChildAttribute().length(), is(16));
    }
View Full Code Here

TOP

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

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.