@Test
public void testCleanAccesskeyFromJsonObjectInMiddle() {

    final String input = "{\"foo\":\"bar\",\"accesskey\":\"test\",\"test\":\"blah\"}";
    final String expected = "{\"foo\":\"bar\",\"test\":\"blah\"}";
    final String result = StringUtils.cleanString(input);
    assertEquals(result, expected);
}