public void Disabled() { var result = PushFileResult.Disabled(); result.Succeeded.Should().BeFalse(); result.ToString().Should().Contain("Disabled"); }
public void Diabled_Succeeded_Is_Succeeded() { var ringCopyResult = PushFileResult.Disabled(); var outsideRingCopyResult = PushFileResult.PushSucceeded(); var result = new ProactiveCopyResult(ringCopyResult, outsideRingCopyResult, retries: 0); result.Succeeded.Should().BeTrue(); ringCopyResult.Succeeded.Should().BeFalse(); outsideRingCopyResult.Succeeded.Should().BeTrue(); result.ToString().Should().Contain("Success"); result.ToString().Should().Contain("Disabled"); }