@Test
public void shouldMapNestedArray() {

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