VerifyZsyncCompatible() public method

public VerifyZsyncCompatible ( string data ) : bool
data string
return bool
        public void OtherResponseShouldReturnTrue() {
            var parser = new ZsyncOutputParser();

            var output = parser.VerifyZsyncCompatible("some other response");

            output.Should().BeTrue("because the magic string is not found");
        }
        public void PartialContentResponseShouldReturnFalse() {
            var parser = new ZsyncOutputParser();

            var output =
                parser.VerifyZsyncCompatible(
                    "zsync received a data response (code 200) but this is not a partial content response");

            output.Should().BeFalse("because the magic string is found");
        }