Эх сурвалжийг харах

Death certificate gather informant (3)

Andrew Grant 2 сар өмнө
parent
commit
584c7e5081

+ 3 - 0
src/test/java/scot/carricksoftware/grantswriter/writer/latex/parts/people/subsections/helpers/GatherDeathCertificateTimeLineDataTest.java

@@ -72,9 +72,12 @@ class GatherDeathCertificateTimeLineDataTest {
 
     @Test
     void informantTest() {
+        DeathCertificate deathCertificate = new DeathCertificate();
+        deathCertificates.add(deathCertificate);
         when(deathCertificateServiceMock.findAllByInformant(person)).thenReturn(deathCertificates);
         gatherDeathCertificateTimeLineData.gather(person);
         verify(gatherDeathCertificateInformantTimeLineDataMock).gather(deathCertificates);
+
     }
 
 }