File tree Expand file tree Collapse file tree
src/test/java/org/kohsuke/github/junit Expand file tree Collapse file tree Original file line number Diff line number Diff line change 579579 <dependency >
580580 <groupId >com.github.tomakehurst</groupId >
581581 <artifactId >wiremock-jre8-standalone</artifactId >
582- <version >2.32 .0</version >
582+ <version >2.35 .0</version >
583583 <scope >test</scope >
584584 </dependency >
585585 <dependency >
Original file line number Diff line number Diff line change @@ -527,6 +527,16 @@ public void editStubMapping(StubMapping stubMapping) {
527527 wireMockServer .editStubMapping (stubMapping );
528528 }
529529
530+ /**
531+ * Removes the stub mapping.
532+ *
533+ * @param id
534+ * the id
535+ */
536+ public void removeStubMapping (UUID id ) {
537+ wireMockServer .removeStubMapping (id );
538+ }
539+
530540 /**
531541 * List all stub mappings.
532542 *
@@ -711,6 +721,28 @@ public GetScenariosResult getAllScenarios() {
711721 return wireMockServer .getAllScenarios ();
712722 }
713723
724+ /**
725+ * Reset a scenario
726+ *
727+ * @param name
728+ * the name
729+ */
730+ public void resetScenario (String name ) {
731+ wireMockServer .resetScenario (name );
732+ }
733+
734+ /**
735+ * Set scenario state
736+ *
737+ * @param name
738+ * the name
739+ * @param state
740+ * the state
741+ */
742+ public void setScenarioState (String name , String state ) {
743+ wireMockServer .setScenarioState (name , state );
744+ }
745+
714746 /**
715747 * Find top near misses for.
716748 *
Original file line number Diff line number Diff line change @@ -411,4 +411,21 @@ public boolean getDisableStrictHttpHeaders() {
411411 return parent .getDisableStrictHttpHeaders ();
412412 }
413413
414+ /**
415+ * Gets the data truncation settings.
416+ *
417+ * @return the data truncation settings
418+ */
419+ public DataTruncationSettings getDataTruncationSettings () {
420+ return parent .getDataTruncationSettings ();
421+ }
422+
423+ /**
424+ * Gets the network address rules.
425+ *
426+ * @return the network address rules
427+ */
428+ public NetworkAddressRules getProxyTargetRules () {
429+ return parent .getProxyTargetRules ();
430+ }
414431}
You can’t perform that action at this time.
0 commit comments