@Test
public void testRemoveDuplicate(int[] original, int k, int expectedLen, int[] expectedArray) {

    int len = RemoveDuplicate.removeElement(original, k);
    assertEquals(len, expectedLen);
    assertEqualsWithLen(original, expectedArray, len);
}