### Question:
BasicStatistic implements Result { @Override @XmlTransient public void sendResultTo(OmniscientResultReceiver resultReceiver) throws CouldNotReceiveResultException, ColumnNameMismatchException { resultReceiver.receiveResult(this); } protected  BasicStatistic();  BasicStatistic(ColumnIdentifier... columnIdentifier);  BasicStatistic(Map<String, BasicStatisticValue> statisticMap, ColumnIdentifier... columnIdentifier); void addStatistic(String statisticName, BasicStatisticValue statisticValue); ColumnCombination getColumnCombination(); void setColumnCombination(ColumnCombination columnCombination); Map<String, BasicStatisticValue> getStatisticMap(); void setStatisticMap(Map<String, BasicStatisticValue> statisticMap); @Override @XmlTransient void sendResultTo(OmniscientResultReceiver resultReceiver); @Override String toString(); @Override int hashCode(); @Override boolean equals(Object obj); static final String NAME_COLUMN_SEPARATOR; static final String COLUMN_VALUE_SEPARATOR; static final String STATISTIC_SEPARATOR; }### Answer:
@Test public void testSendResultTo() throws CouldNotReceiveResultException, ColumnNameMismatchException { OmniscientResultReceiver resultReceiver = mock(OmniscientResultReceiver.class); BasicStatistic statistic = new BasicStatistic(mock(ColumnIdentifier.class)); statistic.sendResultTo(resultReceiver); verify(resultReceiver).receiveResult(statistic); }