@Test
public void testToArray07() throws Exception {

    // 前処理
    Object[] obj = new Object[3];
    obj[0] = "array";
    obj[1] = 1;
    Map<String, String> map = new HashMap<String, String>();
    map.put("foo", "something");
    obj[2] = map;
    // テスト実施
    Object[] result = ConvertUtil.toArray(obj);
    // 判定
    assertEquals(3, result.length);
    assertEquals("array", result[0]);
    assertEquals(1, result[1]);
    assertEquals(map, result[2]);
    Map<?, ?> mapResult = (Map<?, ?>) result[2];
    assertEquals("something", mapResult.get("foo"));
}