/**
Test MSdpElementBuilder::BuildStringL()
*/
void CT_DataSdpElementBuilder::DoCmdBuildStringL(MSdpElementBuilder& aElementBuilder, const TDesC& aSection)
{
    iDataWrapper.INFO_PRINTF1(_L("MSdpElementBuilder BuildStringL Call"));

    TPtrC 								theString;
    if( iDataWrapper.GetStringFromConfig(aSection, KString(), theString) )
    {
        HBufC8*	theString8=HBufC8::NewLC(theString.Length());
        theString8->Des().Copy(theString);
        TPtrC8 stringPtr = theString8->Des();
        TRAPD(err, aElementBuilder.BuildStringL(stringPtr));
        if(err != KErrNone)
        {
            iDataWrapper.ERR_PRINTF2(_L("MSdpElementBuilder BuildStringL failed with error %d"), err);
            iDataWrapper.SetError(err);
        }
        CleanupStack::PopAndDestroy(theString8);
    }
    else
    {
        iDataWrapper.ERR_PRINTF2(_L("Missing parameter %S"), &KString());
        iDataWrapper.SetBlockResult(EFail);
    }
}