19202122232425262728
CPerson p1, p2; CCouple couple1; @Before public void setUp() throws Exception { registry = new MarriageRegistry(); p1 = new CPerson("zach", 22, ESex.Male); p2 = new CPerson("katie", 20, ESex.Female); couple1 = new CCouple(p1, p2); }
1112131415161718
private MarriageRegistry registry; private PersonRepository repository; public MarriageService() { registry = new MarriageRegistry(); repository = new PersonRepository(); }