Miscellaneous
Default method argument values
This inspection reports method argument values that match the default values of properties those methods set.
Methods in the following classes are analyzed:
com.github.tomakehurst.wiremock.recording.RecordSpecBuilder
com.github.tomakehurst.wiremock.client.WireMockBuilder
com.github.tomakehurst.wiremock.core.WireMockConfiguration
com.github.tomakehurst.wiremock.matching.MultipartValuePatternBuilder
com.github.tomakehurst.wiremock.junit5.WireMockExtension.Builder
se.bjurr.wiremockpact.wiremockpactlib.api.WireMockPactConfig
in the wiremock-pact extension
Example:
WireMockConfiguration.wireMockConfig()
.timeout(300000) //reported due to default value
.port(9090) //not reported
.httpDisabled(false); //reported due to default value