use of net.playeranalytics.plugin.PlatformAbstractionLayer in project Plan by plan-player-analytics.
the class ShutdownDataPreservationTest method setupPreservation.
@BeforeEach
void setupPreservation(@TempDir Path temporaryFolder) throws Exception {
PluginMockComponent pluginMockComponent = new PluginMockComponent(temporaryFolder);
PlanSystem system = pluginMockComponent.getPlanSystem();
PlatformAbstractionLayer abstractionLayer = pluginMockComponent.getAbstractionLayer();
underTest = new ShutdownDataPreservation(system.getPlanFiles(), system.getLocaleSystem().getLocale(), system.getDatabaseSystem(), abstractionLayer.getPluginLogger(), system.getErrorLogger());
}
Aggregations