@@ -134,8 +134,7 @@ public void makeHttpRequestsShouldNotUpdateDisplayManagerVerIfPresent() {
134134 ExtAppPrebid .of ("source" , "version" ), null ))
135135 .build ()),
136136 impBuilder -> impBuilder .displaymanagerver ("displayManagerVer" )
137- .ext (mapper .valueToTree (ExtPrebid .of (null , givenExt (UnaryOperator .identity ()))))
138- );
137+ .ext (mapper .valueToTree (ExtPrebid .of (null , givenExt (UnaryOperator .identity ())))));
139138
140139 // when
141140 final Result <List <HttpRequest <BidRequest >>> result = target .makeHttpRequests (bidRequest );
@@ -159,8 +158,7 @@ public void makeHttpRequestsShouldNotUpdateBannerIfFormatsIsEmpty() {
159158 .h (200 )
160159 .format (Collections .emptyList ())
161160 .build ())
162- .ext (mapper .valueToTree (ExtPrebid .of (null , givenExt (UnaryOperator .identity ()))))
163- );
161+ .ext (mapper .valueToTree (ExtPrebid .of (null , givenExt (UnaryOperator .identity ())))));
164162
165163 // when
166164 final Result <List <HttpRequest <BidRequest >>> result = target .makeHttpRequests (bidRequest );
@@ -182,8 +180,7 @@ public void makeHttpRequestsShouldUpdateBanner() {
182180 impBuilder -> impBuilder .banner (Banner .builder ().format (List .of (
183181 Format .builder ().w (300 ).h (250 ).build (),
184182 Format .builder ().w (1 ).h (1 ).build ())).build ())
185- .ext (mapper .valueToTree (ExtPrebid .of (null , givenExt (UnaryOperator .identity ()))))
186- );
183+ .ext (mapper .valueToTree (ExtPrebid .of (null , givenExt (UnaryOperator .identity ())))));
187184
188185 // when
189186 final Result <List <HttpRequest <BidRequest >>> result = target .makeHttpRequests (bidRequest );
@@ -200,8 +197,7 @@ public void makeHttpRequestsShouldUpdateBanner() {
200197 .format (List .of (
201198 Format .builder ().w (300 ).h (250 ).build (),
202199 Format .builder ().w (1 ).h (1 ).build ()))
203- .build ()
204- );
200+ .build ());
205201 }
206202
207203 @ Test
@@ -214,8 +210,7 @@ public void makeHttpRequestsShouldConvertBidFloorWhenNotInBidderCurrency() {
214210 impBuilder -> impBuilder
215211 .ext (mapper .valueToTree (ExtPrebid .of (null , givenExt (UnaryOperator .identity ()))))
216212 .bidfloor (BigDecimal .ONE )
217- .bidfloorcur ("EUR" )
218- );
213+ .bidfloorcur ("EUR" ));
219214
220215 // when
221216 final Result <List <HttpRequest <BidRequest >>> result = target .makeHttpRequests (bidRequest );
@@ -243,8 +238,7 @@ public void makeHttpRequestsShouldSplitRequestIntoMultipleRequests() {
243238 .placementId ("placement1" ).build ()))),
244239 impBuilder -> impBuilder
245240 .ext (mapper .valueToTree (ExtPrebid .of (null , ExtImpConnatix .builder ()
246- .placementId ("placement2" ).build ())))
247- );
241+ .placementId ("placement2" ).build ()))));
248242
249243 // when
250244 final Result <List <HttpRequest <BidRequest >>> result = target .makeHttpRequests (bidRequest );
@@ -260,8 +254,7 @@ public void makeHttpRequestsShouldIncludeResolvedHttpHeadersFromDevice() {
260254 final BidRequest bidRequest = givenBidRequest (
261255 request -> request .device (Device .builder ().ip ("deviceIp" ).ipv6 ("deviceIpv6" ).ua ("userAgent" ).build ()),
262256 impBuilder -> impBuilder
263- .ext (mapper .valueToTree (ExtPrebid .of (null , givenExt (UnaryOperator .identity ()))))
264- );
257+ .ext (mapper .valueToTree (ExtPrebid .of (null , givenExt (UnaryOperator .identity ())))));
265258
266259 // when
267260 final Result <List <HttpRequest <BidRequest >>> result = target .makeHttpRequests (bidRequest );
@@ -277,8 +270,7 @@ public void makeHttpRequestsShouldIncludeResolvedHttpHeadersFromDevice() {
277270 tuple (HttpUtil .X_FORWARDED_FOR_HEADER .toString (), "deviceIp" ),
278271 tuple (HttpUtil .X_FORWARDED_FOR_HEADER .toString (), "deviceIpv6" ),
279272 tuple (HttpUtil .CONTENT_TYPE_HEADER .toString (), HttpUtil .APPLICATION_JSON_CONTENT_TYPE ),
280- tuple (HttpUtil .ACCEPT_HEADER .toString (), HttpHeaderValues .APPLICATION_JSON .toString ())
281- );
273+ tuple (HttpUtil .ACCEPT_HEADER .toString (), HttpHeaderValues .APPLICATION_JSON .toString ()));
282274 }
283275
284276 @ Test
0 commit comments