public void GetAdminSpecific_Returns_OkObjectResult() { //Arrange var controller = new AboutController(); //Act var result = controller.GetAdminSpecific(); //Assert var okResult = result.Should().BeOfType <OkObjectResult>().Subject; okResult.StatusCode.Should().Be(200); okResult.Value.Should().BeEquivalentTo(new { data = "This is About Details v2 Admin Specific" }); }