예제 #1
0
        public void GetAboutInfo()
        {
            var about = _aboutService.GetAbout();

            about.Should().NotBeNull();
            about.Version.Should().Be("0.0.1.0");
            about.Architecture.Should().Be(RuntimeEnvironment.RuntimeArchitecture);
            about.OperatingSystem.Should().Be(RuntimeEnvironment.OperatingSystem);
            about.OperatingSystemVersion.Should().Be(RuntimeEnvironment.OperatingSystemVersion);

            _appSettingsMock.VerifyGet(x => x.Value, Times.Exactly(1));
        }