Created
December 3, 2017 23:07
-
-
Save bruno-garcia/96ebcc8b7e7a8d5ac98024ebf45d4799 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Fact] | |
public void Serialize_NullObject_ThrowsNullArgument() | |
{ | |
var sut = new MessagePackSerializer(new MessagePackOptions()); | |
Assert.Throws<ArgumentNullException>(() => sut.Serialize((object) null)); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment