public void ShouldReturnSolutionAuthorityDashboardStaticData() { var dashboardResult = new SolutionAuthorityDashboardSections(Mock.Of <ISolution>()); dashboardResult.Should().NotBeNull(); dashboardResult.Capabilities.Should().NotBeNull(); dashboardResult.Capabilities.Requirement.Should().Be("Mandatory"); dashboardResult.Capabilities.Status.Should().Be("INCOMPLETE"); }
public void NullSolutionShouldThrowNullExceptionAuthorityDashboardSection() { Assert.Throws <ArgumentNullException>(() => _ = new SolutionAuthorityDashboardSections(null)); }