public void should_return_the_legalentity_with_the_correct_details() { foreach (var legalentity in returnedLegalEntitys) { LegalEntityDataChecker.CompareContractWithSavedEntity(legalentity); } }
public void should_return_the_correct_vesrion_of_the_legalentity() { var legalentity = response.Content.ReadAsDataContract <EnergyTrading.MDM.Contracts.Sample.LegalEntity>(); LegalEntityDataChecker.CompareContractWithSavedEntity(legalentity); }
public void should_create_an_instance_of_the_legalentity_in_the_database_with_the_correct_details() { LegalEntityDataChecker.ConfirmEntitySaved(int.Parse(GetLocationHeader()[1]), legalentity); }
public void should_update_the_legalentity_in_the_database_with_the_correct_details() { LegalEntityDataChecker.ConfirmEntitySaved(entity.Id, updatedContract); }