### Question:
ConnectionField extends RtspHeader.Field { public void addParam(String param) { params.add(param.toLowerCase()); } ConnectionField(); void addParam(String param); boolean containsParam(String param); void removeParam(String param); @Override String getValueText(); @Override ConnectionField clone(); static ConnectionField parse(String fieldValue);  }### Answer:
@Test public void testToString() { System.out.println("RTSP message Connection field toString test..."); ConnectionField cf = new ConnectionField(); cf.addParam("p1"); cf.addParam("p2"); String tmp = cf.toString(); if (!tmp.equals("Connection:p1,p2") && !tmp.equals("Connection:p2,p1")) fail("reult = \"" + tmp + "\", expected = \"Connection:p1,p2\" or \"Connection:p2,p1\""); }