public void SetUp() { testDataHelper = new TestDataHelper(); constituent = testDataHelper.CreateConstituent(ConstituentMother.ConstituentWithName(ConstituentNameMother.JamesFranklin())); savedAddress = testDataHelper.CreateAddress(AddressMother.SanFrancisco(constituent)); }
public void SetUp() { testDataHelper = new TestDataHelper(); var constituent = ConstituentMother.ConstituentWithName(ConstituentNameMother.JamesFranklin()); savedConstituent = testDataHelper.CreateConstituent(constituent); savedAddress = testDataHelper.CreateAddress(AddressMother.SanFrancisco(savedConstituent)); addressRepository = new AddressRepository(testDataHelper.session); }
public void SetUp() { testDataHelper = new TestDataHelper(); var constituent = ConstituentMother.ConstituentWithName(ConstituentNameMother.JamesFranklin()); savedConstituent = testDataHelper.CreateConstituent(constituent); savedAddress = testDataHelper.CreateAddress(AddressMother.SanFrancisco(savedConstituent)); occupationRepository = new OccupationRepository(testDataHelper.session); savedOccupation = testDataHelper.CreateOccupation(OccupationMother.Doctor(savedConstituent, savedAddress)); }