public void MSOXWSCONT_S01_TC10_VerifyHasPictureIsReadonly()
{
Site.Assume.IsTrue(Common.IsRequirementEnabled(1275002, this.Site), "Implementation does not support the HasPicture element.");
#region Step 1:Create the contact item.
// Call CreateItem operation.
ContactItemType item = this.BuildContactItemWithRequiredProperties();
item.HasPicture = false;
item.HasPictureSpecified = true;
CreateItemResponseType createItemResponse = this.CallCreateItemOperation(item);
this.Site.CaptureRequirementIfAreEqual<ResponseCodeType>(
ResponseCodeType.ErrorInvalidPropertySet,
createItemResponse.ResponseMessages.Items[0].ResponseCode,
81001,
@"[In t:ContactItemType Complex Type] HasPicture element: This element is read-only for the client.<4>");
#endregion
}