@Test
public void testCleanPasswordFromRequestStringWithMultiplePasswords() {

    final String input = "username=foo&password=bar&url=foobar&password=bar2&test=4";
    final String expected = "username=foo&url=foobar&test=4";
    final String result = StringUtils.cleanString(input);
    assertEquals(result, expected);
}