public MockServerClient clear ( HttpRequest httpRequest , ClearType type ) { sendRequest ( request ( ) . withMethod ( "PUT" ) . withPath ( calculatePath ( "clear" ) ) . withQueryStringParameter ( "type" , type . name ( ) . toLowerCase ( ) ) . withBody ( httpRequest != null ? httpRequestSerializer . serialize ( httpRequest ) : "" , StandardCharsets . UTF_8 ) ) ; return clientClass . cast ( this ) ; }
Clear expectations logs or both that match the http