public void IdentificationStatus_ShouldReturnFromProvider(IContactProfileProvider provider, ContactIdentificationLevel expected) { provider.Contact.Identifiers.IdentificationLevel.Returns(expected); var model = new ContactInformation(provider); model.IdentificationStatus.Should().Be(expected.ToString()); }
public void Identifier_ShouldReturnFromProvider(IContactProfileProvider provider, string expectedId) { provider.Contact.Identifiers.Identifier.Returns(expectedId); var model = new ContactInformation(provider); model.Identifier.Should().Be(expectedId); }
public void EngagementValue_ShouldReturnFromProvider(IContactProfileProvider provider, int number) { provider.Contact.System.Value.Returns(number); var model = new ContactInformation(provider); model.EngagementValue.Should().Be(number); }
public void ID_ShouldReturnFromProvider(IContactProfileProvider provider, Guid expectedId) { provider.Contact.ContactId.Returns(expectedId); var model = new ContactInformation(provider); model.Id.Should().Be(expectedId); }
public void NoOfVisits_ShouldReturnFromProvider(IContactProfileProvider provider, int number) { provider.Contact.System.VisitCount.Returns(number); var model = new ContactInformation(provider); model.NoOfVisits.Should().Be(number); }