public void GetAbout_Should_Return_About() { // Arrange var controller = new AboutController(new NullLogger <AboutController>()); // Act var result = controller.GetAbout(); // Assert var indexResult = Assert.IsType <OkObjectResult>(result); indexResult.Value.Should().BeOfType <About>(); var about = Assert.IsType <About>(indexResult.Value); about.Name.Should().Be("Steeltoe.InitializrService"); about.Vendor.Should().Be("SteeltoeOSS/VMware"); about.Url.Should().Be("https://github.com/SteeltoeOSS/InitializrService/"); /* about.Version.Should().StartWith("0.0.0"); */ about.Commit.Should().NotBeNullOrWhiteSpace(); }