File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed
sdk/test/Services/DynamoDBv2/UnitTests/Custom Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -113,7 +113,9 @@ public void TestConvertingListContainsEmptyMapToJson()
113
113
114
114
var document = Document . FromAttributeMap ( initialAttributeMap ) ;
115
115
var result = document . ToJson ( ) ;
116
+ document = Document . FromAttributeMap ( document . ToAttributeMap ( ) ) ;
116
117
118
+ Assert . IsNotNull ( document ) ;
117
119
Assert . IsNotNull ( result ) ;
118
120
Assert . AreEqual ( document [ "testlist" ] . AsListOfDocument ( ) . Count , 0 ) ;
119
121
}
@@ -152,7 +154,9 @@ public void TestJsonContainsEmptyMapToDocumentAndBackToJson(string json)
152
154
153
155
var document = Document . FromAttributeMap ( initialAttributeMap ) ;
154
156
var result = document . ToJson ( ) ;
157
+ document = Document . FromAttributeMap ( document . ToAttributeMap ( ) ) ;
155
158
159
+ Assert . IsNotNull ( document ) ;
156
160
Assert . IsNotNull ( result ) ;
157
161
}
158
162
You can’t perform that action at this time.
0 commit comments