File tree Expand file tree Collapse file tree
src/test/java/org/prebid/server/it Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1111import static com .github .tomakehurst .wiremock .client .WireMock .equalToJson ;
1212import static com .github .tomakehurst .wiremock .client .WireMock .post ;
1313import static com .github .tomakehurst .wiremock .client .WireMock .urlPathEqualTo ;
14+ import static java .util .Collections .singletonList ;
1415
15- public class 360 PlayVidTest extends IntegrationTest {
16+ public class ThreeSixtyPlayVidTest extends IntegrationTest {
1617
1718 @ Test
18- public void openrtb2AuctionShouldRespondWithBidsFrom360PlayVid () throws IOException , JSONException {
19+ public void openrtb2AuctionShouldRespondWithBidsFromThreeSixtyPlayVid () throws IOException , JSONException {
1920 // given
2021 WIRE_MOCK_RULE .stubFor (post (urlPathEqualTo ("/360playvid-exchange" ))
2122 .withRequestBody (equalToJson (jsonFrom ("openrtb2/360playvid/test-360playvid-bid-request.json" )))
@@ -24,5 +25,8 @@ public void openrtb2AuctionShouldRespondWithBidsFrom360PlayVid() throws IOExcept
2425 // when
2526 final Response response = responseFor ("openrtb2/360playvid/test-auction-360playvid-request.json" ,
2627 Endpoint .openrtb2_auction );
28+
29+ // then
30+ assertJsonEquals ("openrtb2/360playvid/test-auction-360playvid-response.json" , response , singletonList ("360playvid" ));
2731 }
2832}
You can’t perform that action at this time.
0 commit comments