File tree Expand file tree Collapse file tree 1 file changed +0
-27
lines changed
Expand file tree Collapse file tree 1 file changed +0
-27
lines changed Original file line number Diff line number Diff line change @@ -70,33 +70,6 @@ It can be changed with setting `stubLocation` on `@ConfigureWireMock`:
7070@ConfigureWireMock (name = " ..." , property = " ..." , stubLocation = " my-stubs" )
7171```
7272
73- ### Advanced configuration
74-
75- More advanced configuration can be applied through configuration customizers:
76-
77- ``` java
78- @ConfigureWireMock (
79- name = " todo-service" ,
80- property = " todo-service.url" ,
81- configurationCustomizers = SampleConfigurationCustomizer . class
82- )
83- ```
84-
85- Where ` SampleConfigurationCustomizer ` is a class implementing ` WireMockConfigurationCustomizer ` :
86-
87- ``` java
88- class SampleConfigurationCustomizer implements WireMockConfigurationCustomizer {
89-
90- @Override
91- public void customize (WireMockConfiguration configuration , ConfigureWireMock options ) {
92- // apply changes to configuration
93- }
94- }
95- ```
96-
97- > [ !IMPORTANT]
98- > ` WireMockConfigurationCustomizer ` must have a no-arg constructor.
99-
10073Sounds good? Consider [ ❤️ Sponsoring] ( https://github.com/sponsors/maciejwalkowiak ) the project! Thank you!
10174
10275## 🙏 Credits
You can’t perform that action at this time.
0 commit comments