コード例 #1
0
 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));
 }