@Test
public void shouldMapDouble() {

	Assert.assertEquals(DoubleNode.valueOf(1.23), this.mapper.map(1.23));
	Assert.assertEquals(DoubleNode.valueOf(1.23), this.mapper.map(1.23, null, DoubleNode.class));
	Assert.assertEquals(DoubleNode.valueOf(1.23), this.mapper.map(1.23, null, AbstractNumericNode.class));
	Assert.assertEquals(DoubleNode.valueOf(1.23), this.mapper.map(1.23, null, IPrimitiveNode.class));
	Assert.assertEquals(DoubleNode.valueOf(1.23), this.mapper.map(1.23, null, INumericNode.class));
	Assert.assertEquals(DoubleNode.valueOf(1.23), this.mapper.map(1.23, null, IJsonNode.class));
	Assert.assertEquals(DoubleNode.valueOf(1.23), this.mapper.map(1.23, null, AbstractJsonNode.class));
	Assert.assertEquals(DoubleNode.valueOf(1.23), this.mapper.map(1.23, null, Object.class));
	Assert.assertSame(DoubleNode.class, this.mapper.getDefaultMappingType(Double.TYPE));
	Assert.assertSame(DoubleNode.class, this.mapper.getDefaultMappingType(Double.class));
	Assert.assertSame(DoubleNode.class, this.mapper.getDefaultMappingType(Float.TYPE));
	Assert.assertSame(DoubleNode.class, this.mapper.getDefaultMappingType(Float.class));
}