@@ -50,7 +50,7 @@ public void IsCancelled_Returns_True_For_VariousCancelledActions(string action)
50
50
var result = new ElicitResult { Action = action } ;
51
51
52
52
// Act
53
- var isCancelled = result . IsCancelled ;
53
+ var isCancelled = result . IsCanceled ;
54
54
55
55
// Assert
56
56
Assert . True ( isCancelled ) ;
@@ -83,7 +83,7 @@ public void IsCancelled_Returns_True_For_DefaultAction()
83
83
var result = new ElicitResult ( ) ;
84
84
85
85
// Act & Assert
86
- Assert . True ( result . IsCancelled ) ;
86
+ Assert . True ( result . IsCanceled ) ;
87
87
}
88
88
89
89
[ Fact ]
@@ -113,7 +113,7 @@ public void IsCancelled_Returns_False_For_Null_Action()
113
113
var result = new ElicitResult { Action = null ! } ;
114
114
115
115
// Act & Assert
116
- Assert . False ( result . IsCancelled ) ;
116
+ Assert . False ( result . IsCanceled ) ;
117
117
}
118
118
119
119
[ Theory ]
@@ -132,7 +132,7 @@ public void JsonSerialization_ExcludesJsonIgnoredProperties(string action)
132
132
// Assert
133
133
Assert . DoesNotContain ( "IsAccepted" , json ) ;
134
134
Assert . DoesNotContain ( "IsDeclined" , json ) ;
135
- Assert . DoesNotContain ( "IsCancelled " , json ) ;
135
+ Assert . DoesNotContain ( "IsCanceled " , json ) ;
136
136
Assert . Contains ( $ "\" action\" :\" { action } \" ", json ) ;
137
137
}
138
138
@@ -155,6 +155,6 @@ public void JsonRoundTrip_PreservesActionAndComputedProperties(string action, bo
155
155
Assert . Equal ( action , deserialized . Action ) ;
156
156
Assert . Equal ( isAccepted , deserialized . IsAccepted ) ;
157
157
Assert . Equal ( isDeclined , deserialized . IsDeclined ) ;
158
- Assert . Equal ( isCancelled , deserialized . IsCancelled ) ;
158
+ Assert . Equal ( isCancelled , deserialized . IsCanceled ) ;
159
159
}
160
160
}
0 commit comments