public void testArrayRemoveElement8() throws Exception { String[] res = (String[]) ArrayUtils.removeElement(new String[] {"a", "b", "c"}, "a"); assertEquals(2, res.length); assertEquals("b", res[0]); assertEquals("c", res[1]); }
public void testArrayRemoveElement3() throws Exception { String[] res = (String[]) ArrayUtils.removeElement(new String[] {"a"}, "a"); assertEquals(0, res.length); }