public void Be_Creatable() { var sut = new NZazuTableDataXmlSerializer(); sut.Should().NotBeNull(); sut.Should().BeAssignableTo <INZazuTableDataSerializer>(); }
public void Handle_Empty_Stuff(string data) { var sut = new NZazuTableDataXmlSerializer(); var expected = sut.Deserialize(data); expected.Should().NotBeNull(); expected.Count.Should().Be(0); }
public void Handle_Empty_Symetric() { var data = new Dictionary <string, string>(); var sut = new NZazuTableDataXmlSerializer(); var actual = sut.Serialize(data); var expected = sut.Deserialize(actual); expected.Should().NotBeNull(); expected.Count.Should().Be(0); }
public void Be_Symetric() { var data = new Dictionary <string, string> { { "Jane", "Doe" }, { "John", "Smith" } }; var sut = new NZazuTableDataXmlSerializer(); var actual = sut.Serialize(data); var expected = sut.Deserialize(actual); foreach (var item in data) { expected.Should().Contain(item); } }