@Test public void testDeletingOfRecordedBatches() { stubFor(delete(urlEqualTo(batchUrl)) .willReturn(aResponse().withStatus(200))); underTest.clearBatchExecutions(); verify(deleteRequestedFor(urlEqualTo(batchUrl))); }
public void clearBatchExecutions() { httpDelete(batchUrl, "Clearing of batch executions failed"); }
ActivityClient { public void clearBatchExecutions() { httpDelete(batchUrl, "Clearing of batch executions failed"); } }
ActivityClient { public void clearBatchExecutions() { httpDelete(batchUrl, "Clearing of batch executions failed"); } private  ActivityClient(String host, int port, int socketTimeout); }
ActivityClient { public void clearBatchExecutions() { httpDelete(batchUrl, "Clearing of batch executions failed"); } private  ActivityClient(String host, int port, int socketTimeout); static ActivityClientBuilder builder(); List<Query> retrieveQueries(); List<Connection> retrieveConnections(); void clearConnections(); void clearQueries(); void clearPreparedStatementPreparations(); List<PreparedStatementPreparation> retrievePreparedStatementPreparations(); void clearPreparedStatementExecutions(); void clearAllRecordedActivity(); List<PreparedStatementExecution> retrievePreparedStatementExecutions(); List<BatchExecution> retrieveBatches(); void clearBatchExecutions(); }
ActivityClient { public void clearBatchExecutions() { httpDelete(batchUrl, "Clearing of batch executions failed"); } private  ActivityClient(String host, int port, int socketTimeout); static ActivityClientBuilder builder(); List<Query> retrieveQueries(); List<Connection> retrieveConnections(); void clearConnections(); void clearQueries(); void clearPreparedStatementPreparations(); List<PreparedStatementPreparation> retrievePreparedStatementPreparations(); void clearPreparedStatementExecutions(); void clearAllRecordedActivity(); List<PreparedStatementExecution> retrievePreparedStatementExecutions(); List<BatchExecution> retrieveBatches(); void clearBatchExecutions();  }