public void Equals_Self_IsExpected(CIActivityStatus activityStatus, CIBuildStatus buildStatus) { var sut = new CIStatus { ActivityStatus = activityStatus, BuildStatus = buildStatus }; var result = sut.Equals(sut); result.Should().BeTrue(); }
public void Equals_DifferentActivityStatus_IsExpected(CIBuildStatus buildStatus) { var sut = new CIStatus { ActivityStatus = CIActivityStatus.Idle, BuildStatus = buildStatus }; var target = new CIStatus { ActivityStatus = CIActivityStatus.Building, BuildStatus = buildStatus }; var result = sut.Equals(target); result.Should().BeFalse(); }