@Test
public void shouldMapInt() {

	Assert.assertEquals(IntNode.valueOf(42), this.mapper.map(42));
	Assert.assertEquals(IntNode.valueOf(42), this.mapper.map((short) 42));
	Assert.assertEquals(IntNode.valueOf(42), this.mapper.map((byte) 42));
	Assert.assertEquals(IntNode.valueOf(42), this.mapper.map(42, null, IntNode.class));
	Assert.assertEquals(IntNode.valueOf(42), this.mapper.map(42d, null, IntNode.class));
	Assert.assertEquals(IntNode.valueOf(42), this.mapper.map(42L, null, IntNode.class));
	Assert.assertEquals(IntNode.valueOf(42), this.mapper.map(42, null, INumericNode.class));
	Assert.assertEquals(IntNode.valueOf(42), this.mapper.map(42, null, AbstractNumericNode.class));
	Assert.assertEquals(IntNode.valueOf(42), this.mapper.map(42, null, IPrimitiveNode.class));
	Assert.assertEquals(IntNode.valueOf(42), this.mapper.map(42, null, IJsonNode.class));
	Assert.assertEquals(IntNode.valueOf(42), this.mapper.map(42, null, AbstractJsonNode.class));
	Assert.assertEquals(IntNode.valueOf(42), this.mapper.map(42, null, Object.class));
	Assert.assertSame(IntNode.class, this.mapper.getDefaultMappingType(Integer.TYPE));
	Assert.assertSame(IntNode.class, this.mapper.getDefaultMappingType(Integer.class));
	Assert.assertSame(IntNode.class, this.mapper.getDefaultMappingType(Byte.TYPE));
	Assert.assertSame(IntNode.class, this.mapper.getDefaultMappingType(Byte.class));
	Assert.assertSame(IntNode.class, this.mapper.getDefaultMappingType(Short.TYPE));
	Assert.assertSame(IntNode.class, this.mapper.getDefaultMappingType(Short.class));
}