Simplify ComponentLocator

This commit is contained in:
2025-04-27 22:52:25 +02:00
parent ac854ed4f1
commit c38835fd7b
22 changed files with 57 additions and 71 deletions

View File

@ -20,14 +20,14 @@ import static org.mockito.Mockito.mock;
class EEPROMTests {
PICComponents picComponents;
PICComponentLocator picComponents;
String savedEEPROM;
public EEPROMTests() {}
@BeforeEach
void resetComponentsAndReadEEPROM() throws IOException {
picComponents = new PICComponents();
picComponents = new PICComponentLocator();
savedEEPROM = Files.readString(Path.of("eeprom.json"));
}