public void Resolve_Mixed_IsExpected() { var sut = new CIBuildStatusResolver(); var result = sut.Resolve(CIBuildStatus.Stable, CIBuildStatus.Broken); result.Should().Be(CIBuildStatus.Broken); }
public void Resolve_StableMultiple_IsExpected() { var sut = new CIBuildStatusResolver(); var result = sut.Resolve(CIBuildStatus.Stable, CIBuildStatus.Stable); result.Should().Be(CIBuildStatus.Stable); }
public void Resolve_BrokenMultiple_IsExpected() { var sut = new CIBuildStatusResolver(); var result = sut.Resolve(CIBuildStatus.Broken, CIBuildStatus.Broken); result.Should().Be(CIBuildStatus.Broken); }
public void Resolve_Null_IsExpected() { var sut = new CIBuildStatusResolver(); var result = sut.Resolve(null); result.Should().Be(CIBuildStatus.Stable); }