ArcGISHealthStatus.Tests.Configuration.ConfigurationReaderTest.ShouldDeserializeProperly C# (CSharp) Method

ShouldDeserializeProperly() private method

private ShouldDeserializeProperly ( ) : void
return void
        public void ShouldDeserializeProperly()
        {
            var fileName = Path.Combine(AppDomain.CurrentDomain.BaseDirectory, "Configuration", "ArcGISHealthCheckerTeste.config");

            var arcGISHealtCheker = ConfigurationReader.DeserializeFromXML(fileName);
            arcGISHealtCheker.Should().Not.Be.Null();
            arcGISHealtCheker.Should().Be.OfType<ArcGISHealthChecker>();
            arcGISHealtCheker.Groups.Count.Should().Be(1);
            arcGISHealtCheker.Groups[0].HTTPServices.Count.Should().Be(2);
            arcGISHealtCheker.Groups[0].TCPServices.Count.Should().Be(2);
        }