@Test
public void shouldMapTypedList() {

	final List<Object> object = new ArrayList<Object>();
	object.add(1);
	object.add("test");
	final IJsonNode node = this.mapper.map(object, null, new TypeToken<ArrayNode<TextNode>>() {
	}.getType());
	final ArrayNode<TextNode> expected = new ArrayNode<TextNode>();
	expected.add(TextNode.valueOf("1"));
	expected.add(TextNode.valueOf("test"));
	Assert.assertEquals(expected, node);
	Assert.assertSame(CachingArrayNode.class, this.mapper.getDefaultMappingType(List.class));
}