1313import java .io .InputStream ;
1414import java .net .HttpURLConnection ;
1515import java .util .HashMap ;
16+ import java .util .Map ;
1617
1718import static com .microsoft .kiota .serialization .ParseNodeFactoryRegistry .defaultInstance ;
1819import static org .junit .jupiter .api .Assertions .*;
@@ -26,7 +27,7 @@ class BatchResponseContentTest {
2627 void BatchResponseContent_InitializeWithNoContent () {
2728 Response response = defaultBuilder .code (HttpURLConnection .HTTP_BAD_REQUEST ).build ();
2829 BatchResponseContent batchResponseContent = new BatchResponseContent (response );
29- HashMap <String , Response > responses = batchResponseContent .getResponses ();
30+ Map <String , Response > responses = batchResponseContent .getResponses ();
3031 Response response1 = responses .get ("1" );
3132 assertNotNull (responses );
3233 assertNull (response1 );
@@ -38,7 +39,7 @@ void BatchResponseContent_InitializeWithEmptyResponseContent() {
3839 ResponseBody responseBody = ResponseBody .create (jsonResponse ,MediaType .get ("application/json" ));
3940 Response response = defaultBuilder .code (HttpURLConnection .HTTP_BAD_REQUEST ).body (responseBody ).build ();
4041 BatchResponseContent batchResponseContent = new BatchResponseContent (response );
41- HashMap <String , Response > responses = batchResponseContent .getResponses ();
42+ Map <String , Response > responses = batchResponseContent .getResponses ();
4243 Response response1 = batchResponseContent .getResponseById ("1" );
4344 assertNotNull (responses );
4445 assertNull (response1 );
@@ -77,7 +78,7 @@ void BatchResponseContent_GetResponses() {
7778 Response response = defaultBuilder .code (HttpURLConnection .HTTP_OK ).body (body ).build ();
7879 BatchResponseContent batchResponseContent = new BatchResponseContent (response );
7980
80- HashMap <String , Response > responses = batchResponseContent .getResponses ();
81+ Map <String , Response > responses = batchResponseContent .getResponses ();
8182
8283 assertNotNull (responses );
8384 assertEquals (3 , responses .size ());
0 commit comments