### Question:
PrimingClient { public void clearAllPrimes() { clearQueryPrimes(); clearPreparedPrimes(); clearPreparedMultiPrimes(); clearBatchPrimes(); } private  PrimingClient(String host, int port); static PrimingClientBuilder builder(); void prime(PrimingRequest prime); void prime(PrimingRequest.PrimingRequestBuilder prime); void primeBatch(BatchPrimingRequest batchPrimingRequest); void primeBatch(BatchPrimingRequest.BatchPrimingRequestBuilder batchPrimingRequest); void multiPrime(MultiPrimeRequest primeRequest); @Deprecated void primeQuery(PrimingRequest primeRequest); @Deprecated void primePreparedStatement(PrimingRequest primeRequest); List<PrimingRequest> retrievePreparedPrimes(); List<MultiPrimeRequest> retrievePreparedMultiPrimes(); List<PrimingRequest> retrieveQueryPrimes(); void clearAllPrimes(); void clearQueryPrimes(); void clearPreparedPrimes(); void clearPreparedMultiPrimes(); void clearBatchPrimes(); static final String DELETING_OF_PRIMES_FAILED; static final String PRIMING_FAILED; }### Answer:
@Test public void testClearAllPrimes() { stubFor(delete(urlEqualTo(PRIME_PREPARED_PATH)).willReturn(aResponse().withStatus(200))); stubFor(delete(urlEqualTo(PRIME_QUERY_PATH)).willReturn(aResponse().withStatus(200))); stubFor(delete(urlEqualTo(PRIME_PREPARED_MULTI_PATH)).willReturn(aResponse().withStatus(200))); stubFor(delete(urlEqualTo(PRIME_BATCH_PATH)).willReturn(aResponse().withStatus(200))); underTest.clearAllPrimes(); verify(deleteRequestedFor(urlEqualTo(PRIME_PREPARED_PATH))); verify(deleteRequestedFor(urlEqualTo(PRIME_QUERY_PATH))); verify(deleteRequestedFor(urlEqualTo(PRIME_PREPARED_MULTI_PATH))); verify(deleteRequestedFor(urlEqualTo(PRIME_BATCH_PATH))); }