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