public void testShouldOutputInt() {
IntegerConverter serializer = new IntegerConverter();
assertEquals("<int>123</int>", marshal(new IntegerConverter(), new Integer(123)));
assertEquals("<int>234</int>", marshal(new IntegerConverter(), new Integer(234)));
assertTrue(serializer.canConvert(Integer.class));
assertFalse(serializer.canConvert(Long.class));
}
public void testShouldOutputShortAndByteToInt() {
IntegerConverter serializer = new IntegerConverter();