Example #1
0
 @Test
 public void deleteShouldRemoveNormalProperties() {
   array.put("p", array, "a");
   array.delete("p");
   assertThat(array.has("p", array), is(false));
 }
Example #2
0
 @Test
 public void deleteShouldRemoveIndexProperties() {
   array.put(0, array, "a");
   array.delete(0);
   assertThat(array.has(0, array), is(false));
 }