public void ProducerContact_EqualsProducerContactDifferentMobile_ReturnsFalse() { var producerContact = ProducerContactBuilder.NewProducerContact; var producerContact2 = ProducerContactBuilder.WithMobile("Mobile2"); Assert.NotEqual(producerContact, producerContact2); }
public void ProducerContact_EqualsProducerContactDifferentProducerAddress_ReturnsFalse() { var producerContact = ProducerContactBuilder.WithProducerAddress(new AlwaysUnequalProducerAddress()); var producerContact2 = ProducerContactBuilder.WithProducerAddress(new AlwaysUnequalProducerAddress()); Assert.NotEqual(producerContact, producerContact2); }
public void ProducerContact_EqualsProducerContactDifferentTelephone_ReturnsFalse() { var producerContact = ProducerContactBuilder.NewProducerContact; var producerContact2 = ProducerContactBuilder.WithTelephone("Telephone2"); Assert.NotEqual(producerContact, producerContact2); }
public void ProducerContact_EqualsProducerContactDifferentEmail_ReturnsFalse() { var producerContact = ProducerContactBuilder.NewProducerContact; var producerContact2 = ProducerContactBuilder.WithEmail("Email2"); Assert.NotEqual(producerContact, producerContact2); }
public void ProducerContact_EqualsProducerContactDifferentFax_ReturnsFalse() { var producerContact = ProducerContactBuilder.NewProducerContact; var producerContact2 = ProducerContactBuilder.WithFax("Fax2"); Assert.NotEqual(producerContact, producerContact2); }
public static ProducerContact WithSurname(string surname) { var builder = new ProducerContactBuilder(); builder.surname = surname; return(builder.Build()); }
public static ProducerContact WithTitle(string title) { var builder = new ProducerContactBuilder(); builder.title = title; return(builder.Build()); }
public static ProducerContact WithProducerAddress(ProducerAddress address) { var builder = new ProducerContactBuilder(); builder.address = address; return(builder.Build()); }
public static ProducerContact WithEmail(string email) { var builder = new ProducerContactBuilder(); builder.email = email; return(builder.Build()); }
public static ProducerContact WithFax(string fax) { var builder = new ProducerContactBuilder(); builder.fax = fax; return(builder.Build()); }
public static ProducerContact WithMobile(string mobile) { var builder = new ProducerContactBuilder(); builder.mobile = mobile; return(builder.Build()); }
public static ProducerContact WithTelephone(string telephone) { var builder = new ProducerContactBuilder(); builder.telephone = telephone; return(builder.Build()); }
public static ProducerContact WithForename(string forename) { var builder = new ProducerContactBuilder(); builder.forename = forename; return(builder.Build()); }
public static ProducerContact WithProducerAddress(ProducerAddress address) { var builder = new ProducerContactBuilder(); builder.address = address; return builder.Build(); }
public static ProducerContact WithFax(string fax) { var builder = new ProducerContactBuilder(); builder.fax = fax; return builder.Build(); }
public static ProducerContact WithEmail(string email) { var builder = new ProducerContactBuilder(); builder.email = email; return builder.Build(); }
public static ProducerContact WithMobile(string mobile) { var builder = new ProducerContactBuilder(); builder.mobile = mobile; return builder.Build(); }
public static ProducerContact WithTelephone(string telephone) { var builder = new ProducerContactBuilder(); builder.telephone = telephone; return builder.Build(); }
public static ProducerContact WithSurname(string surname) { var builder = new ProducerContactBuilder(); builder.surname = surname; return builder.Build(); }
public static ProducerContact WithForename(string forename) { var builder = new ProducerContactBuilder(); builder.forename = forename; return builder.Build(); }
public static ProducerContact WithTitle(string title) { var builder = new ProducerContactBuilder(); builder.title = title; return builder.Build(); }