@@ -25,16 +25,17 @@ void getConnectors_withNoParams_returnsResults() throws IOException {
2525 void getConnectors_withParams_returnsFilteredResults () throws IOException {
2626 // request connectors with empty filters
2727 ConnectorsResponse defaultConnectors = client .service ()
28- .getConnectors (new ConnectorsSearchRequest ()).execute ().body ();
28+ .getConnectors (new ConnectorsSearchRequest ()).execute ().body ();
2929
3030 // request connectors with filters
3131 ConnectorsResponse connectorsFilteredByName = client .service ()
32- .getConnectors (new ConnectorsSearchRequest ("Nubank " )).execute ().body ();
32+ .getConnectors (new ConnectorsSearchRequest ("Santander Empresas " )).execute ().body ();
3333 ConnectorsResponse connectorsFilteredIncludeSandbox = client .service ()
34- .getConnectors (new ConnectorsSearchRequest ().setIncludeSandbox (true )).execute ().body ();
34+ .getConnectors (new ConnectorsSearchRequest ().setIncludeSandbox (true )).execute ().body ();
3535 ConnectorsResponse connectorsFilteredByOneCountryAndOneType = client .service ()
36- .getConnectors (new ConnectorsSearchRequest (null , null ,
37- Collections .singletonList (ConnectorType .BUSINESS_BANK ))).execute ().body ();
36+ .getConnectors (new ConnectorsSearchRequest (null , null ,
37+ Collections .singletonList (ConnectorType .BUSINESS_BANK )))
38+ .execute ().body ();
3839
3940 int allCount = defaultConnectors .getResults ().size ();
4041 int allIncludeSandboxCount = connectorsFilteredIncludeSandbox .getResults ().size ();
@@ -51,7 +52,8 @@ void getConnectors_withParams_returnsFilteredResults() throws IOException {
5152 assertTrue (byNameCount < allCount );
5253 assertTrue (byOneCountryAndOneTypeCount < allCount );
5354
54- // assumes including sandbox results are more (or equal) than default total results
55+ // assumes including sandbox results are more (or equal) than default total
56+ // results
5557 assertTrue (allIncludeSandboxCount >= allCount );
5658 }
5759}
0 commit comments