protected override void OnSetup()
        {
            ConfigurationManager.AppSettings["MdmCaching"] = false.ToString();

            base.OnSetup();

            this.partyrole = PartyRoleData.PostBasicEntity();
        }
 partial void AddRelatedEntities(EnergyTrading.MDM.Contracts.Sample.PartyRole contract)
 {
     contract.Party = new EntityId()
     {
         Identifier = new MdmId()
         {
             IsMdmId = true, Identifier = "1"
         }
     };
 }
 protected static void SetAdditionalData(PartyRole entity)
 {
     entity.Party = IntegrationTests.Party.PartyData.PostBasicEntity().ToMdmId().ToEntityId();
     entity.PartyRoleType = "SettlementContact";
 }