@@ -153,7 +153,7 @@ public void Invoke_CommandApduWithLargeDataBuffer_OrsHex10ToClaOnAllExceptLast()
153
153
154
154
_ = mockTransform
155
155
. Setup ( x => x . Invoke ( It . IsAny < CommandApdu > ( ) , It . IsAny < Type > ( ) , It . IsAny < Type > ( ) ) )
156
- . Returns ( new ResponseApdu ( [ ] , 0x90 ) )
156
+ . Returns ( new ResponseApdu ( new byte [ ] { 0x90 , 0x00 } ) )
157
157
. Callback < CommandApdu , Type , Type > ( ( a , b , c ) => observedCla . Add ( a . Cla ) ) ;
158
158
159
159
// Act
@@ -181,7 +181,7 @@ public void Invoke_CommandApduWithLargeDataBuffer_AllOtherApduPropertiesRemainUn
181
181
182
182
_ = mockTransform
183
183
. Setup ( x => x . Invoke ( It . IsAny < CommandApdu > ( ) , It . IsAny < Type > ( ) , It . IsAny < Type > ( ) ) )
184
- . Returns ( new ResponseApdu ( [ ] , 0x90 ) )
184
+ . Returns ( new ResponseApdu ( new byte [ ] { 0x90 , 0x00 } ) )
185
185
. Callback < CommandApdu , Type , Type > ( ( a , b , c ) => observedApdus . Add ( a ) ) ;
186
186
187
187
// Act
@@ -211,7 +211,7 @@ public void Invoke_CommandApduWithLargeDataBuffer_SplitsDataAcrossInvokeCalls()
211
211
212
212
_ = mockTransform
213
213
. Setup ( x => x . Invoke ( It . IsAny < CommandApdu > ( ) , It . IsAny < Type > ( ) , It . IsAny < Type > ( ) ) )
214
- . Returns ( new ResponseApdu ( [ ] , 0x90 ) )
214
+ . Returns ( new ResponseApdu ( new byte [ ] { 0x90 , 0x00 } ) )
215
215
. Callback < CommandApdu , Type , Type > ( ( a , b , c ) => observedApdus . Add ( a . Data . ToArray ( ) ) ) ;
216
216
217
217
// Act
0 commit comments