@Test public void testParseComObjetosInnerEVariosAtributos() { InnerObjectMultipleObjectFieldsToObjectFields de = new InnerObjectMultipleObjectFieldsToObjectFields(new NoAnnotationSource("BB", "123321")); DestinyInnerObject para = copier.from(de).doCopy(); assertEquals("BB", para.getObject().getFirst()); assertEquals("123321", para.getObject().getSecond()); }
@Test public void testParseComObjetosParaInnerEDeOuter() { InnerObjectMultipleFieldsToObjectFields de = new InnerObjectMultipleFieldsToObjectFields("BB", "123321"); DestinyInnerObject para = copier.from(de).doCopy(); assertEquals("BB", para.getObject().getFirst()); assertEquals("123321", para.getObject().getSecond()); }
@Test public void testParseComObjetosInner() { InnerObjectSource de = new InnerObjectSource(new NoAnnotationSource("BB", "123321")); DestinyInnerObject para = copier.from(de).doCopy(); assertEquals("BB", para.getObject().getFirst()); }