### Question:
RtspRequestHeader extends RtspHeader { @Override public String toString() { return method + " " + uri + " RTSP/1.0\r\n" + super.toString(); } protected  RtspRequestHeader(String method, String uri);  RtspRequestHeader(String method, String uri, int cseq); String getMethod(); void setMethod(String method); String getUri(); void setUri(String uri); @Override String toString(); static RtspRequestHeader parse(String[] headerLines); static final String METHOD_DESCRIBE; static final String METHOD_OPTIONS; static final String METHOD_PAUSE; static final String METHOD_PLAY; static final String METHOD_SETUP; static final String METHOD_TEARDOWN; static final String METHOD_GET_PARAMETER; }### Answer:
@Test public void testToString() { System.out.println("RTSP message request header toString test..."); RtspRequestHeader rh = new RtspRequestHeader("OPTIONS", "*", 1); assertEquals("OPTIONS * RTSP/1.0\r\nCSeq:1\r\n\r\n", rh.toString()); }