33import static org .hamcrest .MatcherAssert .assertThat ;
44import static org .hamcrest .Matchers .equalTo ;
55import static org .hamcrest .Matchers .is ;
6- import static org .hamcrest .Matchers .nullValue ;
76
87import org .json .JSONObject ;
98import org .junit .jupiter .api .Test ;
@@ -34,7 +33,7 @@ void toStringAllParameters() {
3433 new SimilarDocumentRequest ()
3534 .setId ("123" )
3635 .setEmbedder ("custom" )
37- .setAttributesToRetrieve (new String []{"title" , "description" })
36+ .setAttributesToRetrieve (new String [] {"title" , "description" })
3837 .setOffset (10 )
3938 .setLimit (20 )
4039 .setFilter ("genre = 'action'" )
@@ -64,7 +63,7 @@ void gettersAndSetters() {
6463 SimilarDocumentRequest .builder ()
6564 .id ("123" )
6665 .embedder ("custom" )
67- .attributesToRetrieve (new String []{"title" , "description" })
66+ .attributesToRetrieve (new String [] {"title" , "description" })
6867 .offset (10 )
6968 .limit (20 )
7069 .filter ("genre = 'action'" )
@@ -78,7 +77,7 @@ void gettersAndSetters() {
7877 assertThat (request .getEmbedder (), is (equalTo ("custom" )));
7978 assertThat (
8079 request .getAttributesToRetrieve (),
81- is (equalTo (new String []{"title" , "description" })));
80+ is (equalTo (new String [] {"title" , "description" })));
8281 assertThat (request .getOffset (), is (equalTo (10 )));
8382 assertThat (request .getLimit (), is (equalTo (20 )));
8483 assertThat (request .getFilter (), is (equalTo ("genre = 'action'" )));
0 commit comments