public void SetUp() { testDataHelper = new TestDataHelper(); repository = new ConstituentNameRepository(testDataHelper.session); jamesFranklin = ConstituentNameMother.JamesFranklin(); savedConstituentName = testDataHelper.CreateConstituentName(jamesFranklin); }
public void ShouldSaveConstituentName() { var savedName = new ConstituentNameRepository().Save(jamesFranklin); Assert.That(savedName.Id, Is.GreaterThan(0)); }
public ConstituentNameServiceImpl(ConstituentNameRepository constituentNameRepository) { repository = constituentNameRepository; }