### Question:
PojoListGrid implements Grid { @Override public Object[][] toArray2D() { Object[][] result = new Object[rows()][columns()]; for (int row = 0; row < rows(); row++) { for (int column = 0; column < columns(); column++) { result[row][column] = get(row, column); } } return result; } PojoListGrid(List<?> pojoList, ConversionService conversionService, String... props);  PojoListGrid(List<?> pojoList, String... props); @Override Object get(int row, int column); @Override void set(int row, int column, Object value); @Override int columns(); @Override int rows(); @Override Object[][] toArray2D();  }### Answer:
@Test public void toArray2D() { Object[][] expected = { { "Hello", 0, null }, { null, 100 , DateUtils.create(2010, 5, 6)} }; assertArrayEquals(expected, target.toArray2D()); }