*/
@Test
public void test_unionsPassing_tuscanyAsClient() {
try {
TScenarioSix ref = domain.getService(TScenarioSixComponent.class, "ScenarioSix").getScenarioSix();
TRichUnion arg = new TRichUnion();
TInnerUnion inner = new TInnerUnion();
inner.setY(10f);
arg.setIu(inner);
TRichUnion result = ref.passRichUnion(arg);
assertEquals(arg.getIu().getY(), result.getIu().getY(), 0.0f);
} catch (Exception e) {
e.printStackTrace();
fail();
}
try {
TScenarioSix ref = domain.getService(TScenarioSixComponent.class, "ScenarioSix").getScenarioSix();
TRichUnion arg = new TRichUnion();
arg.setY(15f);
TRichUnion result = ref.passRichUnion(arg);
assertEquals(arg.getY(), result.getY(), 0.0f);
} catch (Exception e) {
e.printStackTrace();
fail();
}
}