15161718192021
PersonRepository pRepo; @Before public void setUp() throws Exception { pRepo = new PersonRepository(); }
12131415161718
private MarriageRegistry registry; private PersonRepository repository; public MarriageService() { registry = new MarriageRegistry(); repository = new PersonRepository(); }