@Test
public void testArrayToMap(){

	Object[] arrays = new Object[]{"key1", 1, "key2", "value2"};
	Map<String, Object> map = LangOps.arrayToMap(arrays);
	System.out.println("map:"+map);
	Assert.assertNotNull(map);
	Assert.assertEquals(Integer.valueOf(1), map.get("key1"));
	Assert.assertEquals("value2", map.get("key2"));
	
	arrays = new Object[]{"key1", 1, "key2", "value2", "key3"};
	map = LangOps.arrayToMap(arrays);
	System.out.println("map:"+map);
	Assert.assertTrue(map.size()==2);
	Assert.assertNotNull(map);
	Assert.assertEquals(Integer.valueOf(1), map.get("key1"));
	Assert.assertEquals("value2", map.get("key2"));
	Assert.assertFalse(map.containsKey("key3"));
	
	String[] keys = new String[]{"test1", "test3"};
	Map<String, Integer> arrayMap = LangOps.kvArrayToMap(keys, 
														new Integer[]{111, 333});
	assertThat(arrayMap.size()).isEqualTo(keys.length);
	assertThat(arrayMap).containsKeys(keys[0], keys[1]);
}