Last active
April 29, 2016 10:47
-
-
Save borismod/fa3c07b4494c84f170d800077fd7cf6a 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
[TestFixture] | |
public class SerializationTests | |
{ | |
[Serializable] | |
public class Serial | |
{ | |
public string Name { get; set; } | |
} | |
[Test] | |
public void Serial_IsBinarySerializable() | |
{ | |
var serial = new Serial(); | |
serial.Should().BeBinarySerializable(); | |
} | |
[Test] | |
public void Serial_IsXmlSerializable() | |
{ | |
var serial = new Serial(); | |
serial.Should().BeXmlSerializable(); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment