@Test
public void testTelUrl() throws Exception
{
TelURL orig = new TelURLImpl("tel:+3398648;user=phone");
TelURL readOnly = new ReadOnlyTelURL((TelURL) orig.clone());
assertEquals(orig, readOnly);
try { readOnly.setParameter("foo", "bar"); fail();} catch (IllegalStateException e) {}
try { readOnly.removeParameter("user"); fail();} catch (IllegalStateException e) {}
assertEquals(orig, readOnly);