@Test
public void shouldMapInt() {

	Assert.assertEquals(Integer.valueOf(42), this.mapper.map(IntNode.valueOf(42)));
	Assert.assertEquals(Integer.valueOf(42), this.mapper.map(IntNode.valueOf(42), null, Number.class));
	Assert.assertEquals(Integer.valueOf(42), this.mapper.map(IntNode.valueOf(42), null, Object.class));
	Assert.assertEquals(Integer.valueOf(42), this.mapper.map(IntNode.valueOf(42), null, Integer.TYPE));
	Assert.assertEquals(Integer.valueOf(42), this.mapper.map(IntNode.valueOf(42), null, Integer.class));
	Assert.assertEquals(Byte.valueOf((byte) 42), this.mapper.map(IntNode.valueOf(42), null, Byte.TYPE));
	Assert.assertEquals(Byte.valueOf((byte) 42), this.mapper.map(IntNode.valueOf(42), null, Byte.class));
	Assert.assertEquals(Short.valueOf((short) 42), this.mapper.map(IntNode.valueOf(42), null, Short.TYPE));
	Assert.assertEquals(Short.valueOf((short) 42), this.mapper.map(IntNode.valueOf(42), null, Short.class));
}