@@ -14,6 +14,7 @@ public static void Implementation_SerializationRoundTrip_PreservesAllProperties(
1414 Name = "test-server" ,
1515 Title = "Test MCP Server" ,
1616 Version = "1.0.0" ,
17+ Description = "A test MCP server implementation for demonstration purposes" ,
1718 Icons =
1819 [
1920 new ( ) { Source = "https://example.com/icon.png" , MimeType = "image/png" , Sizes = [ "48x48" ] } ,
@@ -33,6 +34,7 @@ public static void Implementation_SerializationRoundTrip_PreservesAllProperties(
3334 Assert . Equal ( original . Name , deserialized . Name ) ;
3435 Assert . Equal ( original . Title , deserialized . Title ) ;
3536 Assert . Equal ( original . Version , deserialized . Version ) ;
37+ Assert . Equal ( original . Description , deserialized . Description ) ;
3638 Assert . Equal ( original . WebsiteUrl , deserialized . WebsiteUrl ) ;
3739 Assert . NotNull ( deserialized . Icons ) ;
3840 Assert . Equal ( original . Icons . Count , deserialized . Icons . Count ) ;
@@ -66,6 +68,7 @@ public static void Implementation_SerializationRoundTrip_WithoutOptionalProperti
6668 Assert . Equal ( original . Name , deserialized . Name ) ;
6769 Assert . Equal ( original . Title , deserialized . Title ) ;
6870 Assert . Equal ( original . Version , deserialized . Version ) ;
71+ Assert . Equal ( original . Description , deserialized . Description ) ;
6972 Assert . Equal ( original . Icons , deserialized . Icons ) ;
7073 Assert . Equal ( original . WebsiteUrl , deserialized . WebsiteUrl ) ;
7174 }
@@ -78,6 +81,7 @@ public static void Implementation_HasCorrectJsonPropertyNames()
7881 Name = "test-server" ,
7982 Title = "Test Server" ,
8083 Version = "1.0.0" ,
84+ Description = "Test description" ,
8185 Icons = [ new ( ) { Source = "https://example.com/icon.png" } ] ,
8286 WebsiteUrl = "https://example.com"
8387 } ;
@@ -87,6 +91,7 @@ public static void Implementation_HasCorrectJsonPropertyNames()
8791 Assert . Contains ( "\" name\" :" , json ) ;
8892 Assert . Contains ( "\" title\" :" , json ) ;
8993 Assert . Contains ( "\" version\" :" , json ) ;
94+ Assert . Contains ( "\" description\" :" , json ) ;
9095 Assert . Contains ( "\" icons\" :" , json ) ;
9196 Assert . Contains ( "\" websiteUrl\" :" , json ) ;
9297 }
0 commit comments