assertEquals(alertKey, alert.get("loc-key"));
final JSONArray argsArray = (JSONArray) alert.get("loc-args");
assertEquals(alertArgs.length, argsArray.size());
assertTrue(argsArray.containsAll(java.util.Arrays.asList(alertArgs)));
}
}
@Test(expected = IllegalStateException.class)
public void testSetAlertBodyWithExistingLocalizedAlert() {