|
@@ -13,6 +13,7 @@ import org.mockito.Mock;
|
|
import org.mockito.junit.jupiter.MockitoExtension;
|
|
import org.mockito.junit.jupiter.MockitoExtension;
|
|
import scot.carricksoftware.grantswriter.domains.people.Person;
|
|
import scot.carricksoftware.grantswriter.domains.people.Person;
|
|
import scot.carricksoftware.grantswriter.writer.latex.parts.people.headers.PersonSectionHeader;
|
|
import scot.carricksoftware.grantswriter.writer.latex.parts.people.headers.PersonSectionHeader;
|
|
|
|
+import scot.carricksoftware.grantswriter.writer.latex.parts.people.subsections.PersonSectionContentsWriter;
|
|
import scot.carricksoftware.grantswriter.writer.latex.parts.people.subsections.PersonSubSectionReferencesWriter;
|
|
import scot.carricksoftware.grantswriter.writer.latex.parts.people.subsections.PersonSubSectionReferencesWriter;
|
|
import scot.carricksoftware.grantswriter.writer.latex.parts.people.subsections.PersonSubSectionTimeLineWriter;
|
|
import scot.carricksoftware.grantswriter.writer.latex.parts.people.subsections.PersonSubSectionTimeLineWriter;
|
|
import scot.carricksoftware.grantswriter.writer.latex.parts.people.subsections.helpers.ClearExistingTimeLineData;
|
|
import scot.carricksoftware.grantswriter.writer.latex.parts.people.subsections.helpers.ClearExistingTimeLineData;
|
|
@@ -40,6 +41,9 @@ class PersonSectionTest {
|
|
@Mock
|
|
@Mock
|
|
private GatherTimeLineData gatherTimeLineDataMock;
|
|
private GatherTimeLineData gatherTimeLineDataMock;
|
|
|
|
|
|
|
|
+ @Mock
|
|
|
|
+ private PersonSectionContentsWriter personSectionContentsWriterMock;
|
|
|
|
+
|
|
@Mock
|
|
@Mock
|
|
ClearExistingTimeLineData clearExistingTimeLineDataMock;
|
|
ClearExistingTimeLineData clearExistingTimeLineDataMock;
|
|
|
|
|
|
@@ -50,7 +54,8 @@ class PersonSectionTest {
|
|
personSubSectionTimeLineWriterMock,
|
|
personSubSectionTimeLineWriterMock,
|
|
personSubSectionReferencesWriterMock,
|
|
personSubSectionReferencesWriterMock,
|
|
clearExistingTimeLineDataMock,
|
|
clearExistingTimeLineDataMock,
|
|
- gatherTimeLineDataMock);
|
|
|
|
|
|
+ gatherTimeLineDataMock,
|
|
|
|
+ personSectionContentsWriterMock);
|
|
}
|
|
}
|
|
|
|
|
|
@Test
|
|
@Test
|