public void SetUp() { testDataHelper = new TestDataHelper(); constituent = testDataHelper.CreateConstituent(ConstituentMother.ConstituentWithName(ConstituentNameMother.JamesFranklin())); reciprocalConstituent = testDataHelper.CreateConstituent(ConstituentMother.ConstituentWithName(ConstituentNameMother.AgnesAlba())); savedAssociation = testDataHelper.CreateAssociation(AsociationMother.JamesFranklinAndJessicaAlba(constituent,reciprocalConstituent)); }
public void SetUp() { testDataHelper = new TestDataHelper(); var constituent = ConstituentMother.ConstituentWithName(ConstituentNameMother.JamesFranklin()); savedConstituent = testDataHelper.CreateConstituent(constituent); constituent = ConstituentMother.ConstituentWithName(ConstituentNameMother.AgnesAlba()); savedAssociatedConstituent = testDataHelper.CreateConstituent(constituent); savedAssociation = testDataHelper.CreateAssociation(AsociationMother.JamesFranklinAndParent(savedConstituent)); associationRepository = new AssociationRepository(testDataHelper.session); }