|
@@ -8,7 +8,6 @@ package scot.carricksoftware.grantswriter.domains.census;
|
|
import org.junit.jupiter.api.BeforeEach;
|
|
import org.junit.jupiter.api.BeforeEach;
|
|
import org.junit.jupiter.api.Test;
|
|
import org.junit.jupiter.api.Test;
|
|
import org.junit.jupiter.api.extension.ExtendWith;
|
|
import org.junit.jupiter.api.extension.ExtendWith;
|
|
-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;
|
|
|
|
|
|
@@ -24,10 +23,6 @@ class CensusEntryPartOneTest {
|
|
|
|
|
|
private CensusEntry entry;
|
|
private CensusEntry entry;
|
|
|
|
|
|
- @SuppressWarnings("unused")
|
|
|
|
- @Mock
|
|
|
|
- private Census censusMock;
|
|
|
|
-
|
|
|
|
@BeforeEach
|
|
@BeforeEach
|
|
void setUp() {
|
|
void setUp() {
|
|
entry = new CensusEntry();
|
|
entry = new CensusEntry();
|
|
@@ -80,6 +75,4 @@ class CensusEntryPartOneTest {
|
|
entry.setPersonalOccupation(occupation);
|
|
entry.setPersonalOccupation(occupation);
|
|
assertEquals(occupation, entry.getPersonalOccupation());
|
|
assertEquals(occupation, entry.getPersonalOccupation());
|
|
}
|
|
}
|
|
-
|
|
|
|
-
|
|
|
|
}
|
|
}
|