# Class SendAlertServiceTest

Namespace
  adas_core.Test.Services

Assembly
  adas-core.Test.dll

    [TestFixture]
    public class SendAlertServiceTest

Inheritance
  object
  SendAlertServiceTest

Inherited Members
  object.Equals(object)
  object.Equals(object, object)
  object.GetHashCode()
  object.GetType()
  object.MemberwiseClone()
  object.ReferenceEquals(object, object)
  object.ToString()

Extension Methods
  NumberUtils.IsNumber(object)
  NumberUtils.ToDouble(object)
  ObjectUtils.ToStr(object?)

## Methods

### GetConsumedCpu_Return_PerformanceCpu_data()

Verifies that adas_core.Test.Services.SendAlertServiceTest._sendAlertService.`GetConsumedCpu` returns a valid performance CPU reading (non-null with a positive `ValueTotal`) when executed on a Windows platform. When the host operating system is not Windows, the test is skipped with an ignore notice.

    [Ignore("Integration test to pull request")]
    [Test]
    public void GetConsumedCpu_Return_PerformanceCpu_data()

### GetConsumedRAM_Return_PerformanceRAM_data()

Verifies that `GetConsumedRam` returns a non-null performance RAM data object with positive values for `PercentageConsumed`, `ValueConsumed`, and `ValueTotal`. The test only executes on Windows platforms and is ignored on other operating systems.

    [Ignore("Integration test to pull request")]
    [Test]
    public void GetConsumedRAM_Return_PerformanceRAM_data()

### GetConsumedStorage_Return_PerformanceStorage_data()

Integration test that verifies the GetConsumedStorage method returns valid Performance data with positive percentage and value metrics for all ready drives on Windows platforms. The test is ignored when executed on a non-Windows platform.

    [Ignore("Integration test to pull request")]
    [Test]
    public void GetConsumedStorage_Return_PerformanceStorage_data()

### Setup()

Initializes test dependencies for SendAlertService unit tests, including RabbitMQ options, a mocked logger, an instance of the service under test, and the set of Windows platform identifiers used to validate platform-specific behavior.

    [SetUp]
    public void Setup()