public void WhenHeaderShouldNotBeSpecified_ReturnsFalse(string algorithmName) { var sut = new CustomSignatureAlgorithm(algorithmName); var actual = sut.ShouldIncludeExpiresHeader(); actual.Should().BeFalse(); }
public void WhenHeaderShouldNotBeSpecified_ReturnsFalse() { var sut = new CustomSignatureAlgorithm("hs2019"); var actual = sut.ShouldIncludeDateHeader(); actual.Should().BeFalse(); }
public void WhenHeaderShouldBeSpecified_ReturnsTrue() { var sut = new CustomSignatureAlgorithm("hs2019"); var actual = sut.ShouldIncludeCreatedHeader(); actual.Should().BeTrue(); }
public void WhenHeaderShouldBeSpecified_ReturnsTrue(string algorithmName) { var sut = new CustomSignatureAlgorithm(algorithmName); var actual = sut.ShouldIncludeDateHeader(); actual.Should().BeTrue(); }