Start outfitting core classes for Guice
[rhynodge.git] / src / test / java / net / pterodactylus / rhynodge / states / StateManagerTest.java
index 6541c11..0821b68 100644 (file)
@@ -12,6 +12,7 @@ import java.io.IOException;
 import java.util.Optional;
 
 import net.pterodactylus.rhynodge.State;
+import net.pterodactylus.rhynodge.states.StateManager.Directory;
 
 import com.fasterxml.jackson.annotation.JsonProperty;
 import com.google.common.io.Files;
@@ -41,7 +42,7 @@ public class StateManagerTest {
        public StateManagerTest() throws IOException {
                tempFolder.create();
                statePath = tempFolder.newFolder();
-               stateManager = new StateManager(statePath.getPath());
+               stateManager = new StateManager(Directory.of(statePath.getPath()));
        }
 
        @Test