public void BeforeEachTest() { _subject = new PluginResourceScheduleState(new PluginResourceSchedule(1, "test.plugin_resource") { AlertOperator = "gt", AlertValue = 1, AlertDuration = 60 }); }
public PluginResourceSchedule(int id, string pluginResourceTextKey) { Id = id; PluginResourceTextKey = pluginResourceTextKey; State = new PluginResourceScheduleState(this); }