@@ -56,8 +56,8 @@ public async Task ActiveToken()
5656 result . StatusCode . Should ( ) . Be ( HttpStatusCode . OK ) ;
5757
5858 var request = handler . LastRequest ;
59- request . Should ( ) . ContainKey ( "client_id" ) . WhichValue . Should ( ) . Be ( clientId ) ;
60- request . Should ( ) . ContainKey ( "client_secret" ) . WhichValue . Should ( ) . Be ( clientSecret ) ;
59+ request . Should ( ) . ContainKey ( "client_id" ) . WhoseValue . Should ( ) . Be ( clientId ) ;
60+ request . Should ( ) . ContainKey ( "client_secret" ) . WhoseValue . Should ( ) . Be ( clientSecret ) ;
6161 }
6262
6363 [ Theory ]
@@ -93,17 +93,17 @@ public async Task ActiveToken_With_ClientAssertion(int ttl, string assertion1, s
9393 result . StatusCode . Should ( ) . Be ( HttpStatusCode . OK ) ;
9494
9595 var request = handler . LastRequest ;
96- request . Should ( ) . ContainKey ( "client_id" ) . WhichValue . Should ( ) . Be ( clientId ) ;
97- request . Should ( ) . ContainKey ( "client_assertion_type" ) . WhichValue . Should ( ) . Be ( "testType" ) ;
98- request . Should ( ) . ContainKey ( "client_assertion" ) . WhichValue . Should ( ) . Be ( assertion1 ) ;
96+ request . Should ( ) . ContainKey ( "client_id" ) . WhoseValue . Should ( ) . Be ( clientId ) ;
97+ request . Should ( ) . ContainKey ( "client_assertion_type" ) . WhoseValue . Should ( ) . Be ( "testType" ) ;
98+ request . Should ( ) . ContainKey ( "client_assertion" ) . WhoseValue . Should ( ) . Be ( assertion1 ) ;
9999
100100 result = await client . GetAsync ( "http://test" ) ;
101101 result . StatusCode . Should ( ) . Be ( HttpStatusCode . OK ) ;
102102
103103 request = handler . LastRequest ;
104- request . Should ( ) . ContainKey ( "client_id" ) . WhichValue . Should ( ) . Be ( clientId ) ;
105- request . Should ( ) . ContainKey ( "client_assertion_type" ) . WhichValue . Should ( ) . Be ( "testType" ) ;
106- request . Should ( ) . ContainKey ( "client_assertion" ) . WhichValue . Should ( ) . Be ( assertion2 ) ;
104+ request . Should ( ) . ContainKey ( "client_id" ) . WhoseValue . Should ( ) . Be ( clientId ) ;
105+ request . Should ( ) . ContainKey ( "client_assertion_type" ) . WhoseValue . Should ( ) . Be ( "testType" ) ;
106+ request . Should ( ) . ContainKey ( "client_assertion" ) . WhoseValue . Should ( ) . Be ( assertion2 ) ;
107107 }
108108
109109 [ Fact ]
0 commit comments