assert other.getName().equals("Yuigahama Yui");
}
@Test
public void primitives() throws Exception {
Primitives primitives = I.make(Primitives.class);
primitives.setIntValue(10);
primitives.setBooleanValue(true);
primitives.setByteValue((byte) 2);
primitives.setCharValue('a');
primitives.setDoubleValue(9.3443456345634D);
primitives.setFloatValue(0.533f);
primitives.setLongValue(3020103L);
primitives.setShortValue((short) 19);
Primitives other = writeThenRead(primitives);
assert other.getByteValue() == 2;
assert other.getCharValue() == 'a';
assert other.getDoubleValue() == 9.3443456345634D;
assert other.getFloatValue() == 0.533f;
assert other.getIntValue() == 10;
// assert other.getLongValue() == 3020103L;
assert other.getShortValue() == 19;
}