public TelecommunicationsNumberCreateTest(TestFixture fixture) : base(fixture) { var person = new People(this.Session).Extent().First; this.editContactMechanism = new TelecommunicationsNumberBuilder(this.Session) .WithCountryCode("0032") .WithAreaCode("498") .WithContactNumber("123 456") .Build(); var partyContactMechanism = new PartyContactMechanismBuilder(this.Session).WithContactMechanism(this.editContactMechanism).Build(); person.AddPartyContactMechanism(partyContactMechanism); this.Session.Derive(); this.Session.Commit(); this.Login(); this.people = this.Sidenav.NavigateToPeople(); }
public TelecommunicationsNumberEditTest(TestFixture fixture) : base(fixture) { var people = new People(this.Session).Extent(); var person = people.First(v => v.PartyName.Equals("John0 Doe0")); this.editContactMechanism = new TelecommunicationsNumberBuilder(this.Session) .WithCountryCode("0032") .WithAreaCode("498") .WithContactNumber("123 456") .Build(); var partyContactMechanism = new PartyContactMechanismBuilder(this.Session).WithContactMechanism(this.editContactMechanism).Build(); person.AddPartyContactMechanism(partyContactMechanism); this.Session.Derive(); this.Session.Commit(); var dashboard = this.Login(); this.people = dashboard.Sidenav.NavigateToPersonList(); }