@Test(expected = ActivityRequestFailed.class) public void testDeletingOfPreparedExecutionHistoryFailure() { stubFor(delete(urlEqualTo(preparedStatementExecutionUrl)) .willReturn(aResponse().withStatus(200).withFault(Fault.RANDOM_DATA_THEN_CLOSE))); underTest.clearPreparedStatementExecutions(); }
public void clearPreparedStatementExecutions() { httpDelete(preparedStatementExecutionUrl, "Clearing of prepared statement executions failed"); }
ActivityClient { public void clearPreparedStatementExecutions() { httpDelete(preparedStatementExecutionUrl, "Clearing of prepared statement executions failed"); } }
ActivityClient { public void clearPreparedStatementExecutions() { httpDelete(preparedStatementExecutionUrl, "Clearing of prepared statement executions failed"); } private  ActivityClient(String host, int port, int socketTimeout); }
ActivityClient { public void clearPreparedStatementExecutions() { httpDelete(preparedStatementExecutionUrl, "Clearing of prepared statement 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 clearPreparedStatementExecutions() { httpDelete(preparedStatementExecutionUrl, "Clearing of prepared statement 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();  }