@Test
public void shouldMapArray() {

	final ArrayNode<IJsonNode> input = new ArrayNode<IJsonNode>().add(new TextNode("field1")).add(new IntNode(1));
	Assert.assertArrayEquals(new Object[] { "field1", 1 }, this.mapper.<Object[]> map(input, null, Object[].class));
}