@Test public void putShouldAddNormalProperties() { array.put("p", array, "a"); assertThat(array.has("p", array), is(true)); }
@Test public void deleteShouldRemoveNormalProperties() { array.put("p", array, "a"); array.delete("p"); assertThat(array.has("p", array), is(false)); }
@Test public void putShouldAddIndexProperties() { array.put(0, array, "a"); assertThat(array.has(0, array), is(true)); }
@Test public void deleteShouldRemoveIndexProperties() { array.put(0, array, "a"); array.delete(0); assertThat(array.has(0, array), is(false)); }