@Test
public void testRightPad_StringInt() {

    assertEquals(null, rightPad(null, 5));
    assertEquals("     ", rightPad("", 5));
    assertEquals("abc  ", rightPad("abc", 5));
    assertEquals("abc", rightPad("abc", 2));
    assertEquals("abc", rightPad("abc", -1));
}