I believe you just forgot
import static com.github.tomakehurst.wiremock.client.WireMock.*;
The methods you are trying to invoke are static
methods of the WireMock
type. They aren't static
methods of your custom type. You either import
as above, or invoke them with the qualified name of the type.