@Test(expected = ActivityRequestFailed.class) public void testDeletingOfQueryHistoryFailing() { stubFor(delete(urlEqualTo(queryUrl)) .willReturn(aResponse().withFault(Fault.RANDOM_DATA_THEN_CLOSE))); underTest.clearQueries(); }
public void clearQueries() { httpDelete(queryUrl, "Clearing of queries failed"); }
ActivityClient { public void clearQueries() { httpDelete(queryUrl, "Clearing of queries failed"); } }
ActivityClient { public void clearQueries() { httpDelete(queryUrl, "Clearing of queries failed"); } private  ActivityClient(String host, int port, int socketTimeout); }
ActivityClient { public void clearQueries() { httpDelete(queryUrl, "Clearing of queries 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 clearQueries() { httpDelete(queryUrl, "Clearing of queries 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();  }