@Test
public void testCleanSecretkeyFromJsonObjectWithMultiplePasswords() {

    final String input = "{\"description\":\"foo\"}],\"secretkey\":\"bar\",\"nic\":[{\"secretkey\":\"bar2\",\"id\":\"1\"}]}";
    final String expected = "{\"description\":\"foo\"}],\"nic\":[{\"id\":\"1\"}]}";
    final String result = StringUtils.cleanString(input);
    assertEquals(result, expected);
}