File tree Expand file tree Collapse file tree 2 files changed +7
-0
lines changed
oauth2_http/javatests/com/google/auth/oauth2 Expand file tree Collapse file tree 2 files changed +7
-0
lines changed Original file line number Diff line number Diff line change 5555 <artifactId >mockito-core</artifactId >
5656 <version >4.11.0</version >
5757 <scope >test</scope >
58+ </dependency >
59+ <dependency >
5860 <groupId >com.google.protobuf</groupId >
5961 <artifactId >protobuf-java</artifactId >
6062 </dependency >
Original file line number Diff line number Diff line change @@ -90,6 +90,7 @@ public void addScopeSequence(List<String> scopes) {
9090
9191 @ Override
9292 public LowLevelHttpRequest buildRequest (final String method , final String url ) {
93+ requestCount ++;
9394 this .request =
9495 new MockLowLevelHttpRequest (url ) {
9596 @ Override
@@ -188,4 +189,8 @@ public void setReturnExpiresIn(boolean returnExpiresIn) {
188189 public void setReturnAccessBoundarySessionKey (boolean returnAccessBoundarySessionKey ) {
189190 this .returnAccessBoundarySessionKey = returnAccessBoundarySessionKey ;
190191 }
192+
193+ public int getRequestCount () {
194+ return requestCount ;
195+ }
191196}
You can’t perform that action at this time.
0 commit comments