コード例 #1
0
 public void should_return_the_legalentity_with_the_correct_details()
 {
     foreach (var legalentity in returnedLegalEntitys)
     {
         LegalEntityDataChecker.CompareContractWithSavedEntity(legalentity);
     }
 }
コード例 #2
0
        public void should_return_the_correct_vesrion_of_the_legalentity()
        {
            var legalentity = response.Content.ReadAsDataContract <EnergyTrading.MDM.Contracts.Sample.LegalEntity>();

            LegalEntityDataChecker.CompareContractWithSavedEntity(legalentity);
        }
コード例 #3
0
 public void should_create_an_instance_of_the_legalentity_in_the_database_with_the_correct_details()
 {
     LegalEntityDataChecker.ConfirmEntitySaved(int.Parse(GetLocationHeader()[1]), legalentity);
 }
コード例 #4
0
 public void should_update_the_legalentity_in_the_database_with_the_correct_details()
 {
     LegalEntityDataChecker.ConfirmEntitySaved(entity.Id, updatedContract);
 }