public void BytesToHexStringShouldThrowWhenGivenNullTest() { Action a = () => ByteUtils.BytesToHexString(null).Should(); a.Should().ThrowExactly <ArgumentNullException>(); }
public void BytesToHexStringTests(byte[] bytes, string expected) { ByteUtils.BytesToHexString(bytes).Should().Be(expected); }