/**
   * Tests the second constructor for the request control with a null context ID.
   *
   * @throws Exception If an unexpected problem occurs.
   */
  @Test()
  public void testRequestConstructor2NullContextID() throws Exception {
    VLVRequestControl vlvRequest = new VLVRequestControl(true, 0, 9, 1, 0, null);

    assertEquals(vlvRequest.isCritical(), true);
    assertEquals(vlvRequest.getBeforeCount(), 0);
    assertEquals(vlvRequest.getAfterCount(), 9);
    assertEquals(vlvRequest.getOffset(), 1);
    assertEquals(vlvRequest.getContentCount(), 0);
    assertNull(vlvRequest.getContextID());
    assertEquals(vlvRequest.getTargetType(), VLVRequestControl.TYPE_TARGET_BYOFFSET);
    assertNull(vlvRequest.getGreaterThanOrEqualAssertion());
    assertNotNull(vlvRequest.toString());
  }
  /**
   * Tests the fourth constructor for the request control with a null context ID.
   *
   * @throws Exception If an unexpected problem occurs.
   */
  @Test()
  public void testRequestConstructor4NullContextID() throws Exception {
    VLVRequestControl vlvRequest = new VLVRequestControl(true, 0, 9, ByteString.valueOf("a"), null);

    assertEquals(vlvRequest.isCritical(), true);
    assertEquals(vlvRequest.getBeforeCount(), 0);
    assertEquals(vlvRequest.getAfterCount(), 9);
    assertEquals(vlvRequest.getGreaterThanOrEqualAssertion().toString(), "a");
    assertNull(vlvRequest.getContextID());
    assertEquals(vlvRequest.getTargetType(), VLVRequestControl.TYPE_TARGET_GREATERTHANOREQUAL);
    assertNotNull(vlvRequest.toString());
  }