LatexDocumentStartTest.java 856 B

12345678910111213141516171819202122232425262728293031323334
  1. /*
  2. * Copyright (c) 2025. Andrew Grant Carrick Software. All rights reserved
  3. *
  4. */
  5. package scot.carricksoftware.grantswriter.writer.latex;
  6. import org.junit.jupiter.api.BeforeEach;
  7. import org.junit.jupiter.api.Test;
  8. import org.junit.jupiter.api.extension.ExtendWith;
  9. import org.mockito.Mock;
  10. import org.springframework.test.context.junit.jupiter.SpringExtension;
  11. import scot.carricksoftware.grantswriter.writer.FileWriter;
  12. import static org.junit.jupiter.api.Assertions.assertNotNull;
  13. @ExtendWith(SpringExtension.class)
  14. class LatexDocumentStartTest {
  15. private LatexDocumentStart documentStart;
  16. @Mock
  17. private FileWriter fileWriterMock ;
  18. @BeforeEach
  19. void setUp() {
  20. documentStart = new LatexDocumentStartImpl(fileWriterMock);
  21. }
  22. @Test
  23. public void constructorTest() {
  24. assertNotNull(documentStart);
  25. }
  26. }