public void Deserialize_parts_isCorrect() { // Arrange var expectedGroup = _group; // Act var actualGroup = SocketGroupExtension.Deserialize(_parts); // Assert Assert.Equal(expectedGroup, actualGroup); }
public void Serialize_isCorrect() { // Arrange var expectedLine = _line; // Act var actualLine = SocketGroupExtension.Serialize(_group); // Assert Assert.Equal(expectedLine, actualLine); }
public SocketGroup Deserialize(string line) { return(SocketGroupExtension.Deserialize(line)); }
public SocketGroup Deserialize(IList <string> parts) { return(SocketGroupExtension.Deserialize(parts)); }
public string Serialize(SocketGroup group) { return(SocketGroupExtension.Serialize(group)); }