@Test
public void testMaskPassword()
{

    Parameter parameter = new Parameter(null, null);
    jobDefinitionHelper.maskPassword(parameter);
    //name is still null
    assertNull(parameter.getName());
    parameter = new Parameter("name", "val");
    //no mask is expected
    jobDefinitionHelper.maskPassword(parameter);
    assertEquals(parameter.getValue(), "val");
    parameter = new Parameter("passWord", "val");
    jobDefinitionHelper.maskPassword(parameter);
    assertEquals(parameter.getValue(), "****");
}