ToString() public method

public ToString ( ) : string
return string
            public void ReplacesUnixLineEndingsWithEnvironmentEndings()
            {
                string expected = string.Format("Hello{0}World{0}", Environment.NewLine);
                var response = new Neo4jErrorResponse {Message = "Hello\nWorld"};

                response.ToString().Should().Be(expected);
            }