public void testArrayRemove2() throws Exception { String[] res = (String[]) ArrayUtils.remove(new String[] {"a", "b"}, 0); assertEquals(1, res.length); assertEquals("b", res[0]); }
public void testArrayRemove4() throws Exception { String[] res = (String[]) ArrayUtils.remove(new String[] {"a", "b", "c"}, 1); assertEquals(2, res.length); assertEquals("a", res[0]); assertEquals("c", res[1]); }
public void testArrayRemove1() throws Exception { String[] res = (String[]) ArrayUtils.remove(new String[] {""}, 0); assertEquals(0, res.length); }