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;
public StateManagerTest() throws IOException {
tempFolder.create();
statePath = tempFolder.newFolder();
- stateManager = new StateManager(statePath.getPath());
+ stateManager = new StateManager(Directory.of(statePath.getPath()));
}
@Test