@Test
public void testPutAll() throws Exception {

    CustomVariables target = new CustomVariables();
    target.put(1, "name1", "value1");
    target.put(2, "name2", "value2");
    CustomVariables toPut = new CustomVariables();
    target.put(2, "name2X", "value2X");
    target.put(3, "name3", "value3");
    target.putAll(toPut);
    assertTrue(target.toString().contains("\"1\":[\"name1\",\"value1\"]"));
    assertTrue(target.toString().contains("\"2\":[\"name2X\",\"value2X\"]"));
    assertTrue(target.toString().contains("\"3\":[\"name3\",\"value3\"]"));
}