protected override KeyValuePair <ConnectorBase, IDictionary <MonitoringTarget, object> > ProvideConnectorTargetsAndExpected() { ASPNET_API_Connector connector = GetConnector(); IDictionary <MonitoringTarget, object> targetAndExpected = new Dictionary <MonitoringTarget, object>() { { MonitoringTarget.Server_CPU_Load, expectedCpuload }, { MonitoringTarget.Server_RAM_Usage, expectedRamUsage }, { MonitoringTarget.Server_CPU_Temp, expectedCpuTemperature } }; return(new KeyValuePair <ConnectorBase, IDictionary <MonitoringTarget, object> >(connector, targetAndExpected)); }
protected override KeyValuePair <ConnectorBase, MonitoringTarget> ProvideConnectorWithTargetThatThrows() { ASPNET_API_Connector connector = GetConnector(); return(new KeyValuePair <ConnectorBase, MonitoringTarget>(connector, MonitoringTarget.Server_CPU_ProcessUsage)); }