@Test
public final void testAdd () throws Exception {

    final TextParameterDataSegment dataSegment = new TextParameterDataSegment(CHUNK_SIZE);
    assertNotNull(dataSegment);
    dataSegment.add(OperationalTextKey.DATA_DIGEST, "Yes");
    dataSegment.add(OperationalTextKey.HEADER_DIGEST, "No");
    dataSegment.add(OperationalTextKey.MAX_CONNECTIONS, "50");
    assertEquals(3, dataSegment.getSettings().entrySet().size());
    assertFalse(dataSegment.getSettings().entrySet().isEmpty());
}