Example #1
0
        public void BytesToHexStringShouldThrowWhenGivenNullTest()
        {
            Action a = () => ByteUtils.BytesToHexString(null).Should();

            a.Should().ThrowExactly <ArgumentNullException>();
        }
Example #2
0
 public void BytesToHexStringTests(byte[] bytes, string expected)
 {
     ByteUtils.BytesToHexString(bytes).Should().Be(expected);
 }