01: /*
02: * All content copyright (c) 2003-2006 Terracotta, Inc., except as may otherwise be noted in a separate copyright
03: * notice. All rights reserved.
04: */
05: package com.tc.simulator.listener;
06:
07: import java.util.Properties;
08:
09: public class MockListenerProvider implements ListenerProvider {
10:
11: public OutputListener outputListener;
12: public ResultsListener resultsListener;
13: public StatsListener statsListener;
14:
15: public OutputListener getOutputListener() {
16: return outputListener;
17: }
18:
19: public ResultsListener getResultsListener() {
20: return this .resultsListener;
21: }
22:
23: public StatsListener getStatsListener() {
24: return statsListener;
25: }
26:
27: public StatsListener newStatsListener(Properties properties) {
28: return statsListener;
29: }
30:
31: public MutationCompletionListener getMutationCompletionListener() {
32: throw new AssertionError("This method needs to be implemented");
33: }
34:
35: }
|